Documentation Index
Fetch the complete documentation index at: https://docs.pactory.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
n8n is a tool for building no-code AI workflows. This integration allows you to connect your n8n workflows to Pactory, distribute and monetize them.
Prerequisites
- n8n account
- Pactory account
Setup Video Guide
Step-by-Step Walkthrough
Create n8n workflow
Create a n8n workflow
Set up the workflow
Step-by-step setup
Use pre-built workflow
Add a webhook node
Add a webhook node to your workflow and copy the webhook URL
Set the response format
Set the response format to “Using ‘Respond to Webhook’ Node”
Create Respond to Webhook node
Create a Respond to Webhook node{ "executionId": "{{ $execution.id }}" }
Use chatInput
You can connect the webhook node to AI Agent or other nodes and use the following expression to use the user message.{{ $json.body.chatInput }}
Add an Execution Data node
Add an Execution Data node to your workflow and connect it to the output of your workflow, add saved field and set the following properties:Key: output
Value: {{ $json.output }}
Use our pre-built workflow template and import it into your n8n instance:Download Workflow Template Create n8n API key
Create a n8n API key in the n8n profile settings, and save it
Access Integration
From your Pactory dashboard, go to “Add New Agent” and select “n8n”
Configure Integration
Enter your n8n-specific configuration:
- n8n webhook URL
- n8n API key
Publish your agent
Set privacy to “Public”
Test Connection
Send a test message to verify the integration is working properly
Share your agent and get paid based on usage!