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
1
Create n8n workflow
Create a n8n workflow
2
Set up the workflow
1
Add a webhook node
Add a webhook node to your workflow and copy the webhook URL
2
Set the response format
Set the response format to “Using ‘Respond to Webhook’ Node”
3
Create Respond to Webhook node
Create a Respond to Webhook node
4
Use chatInput
You can connect the webhook node to AI Agent or other nodes and use the following expression to use the user message.
5
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:
3
Create n8n API key
Create a n8n API key in the n8n profile settings, and save it
4
Access Integration
From your Pactory dashboard, go to “Add New Agent” and select “n8n”
5
Configure Basic Settings
Fill in the standard agent configuration fields (name, description, etc.)
6
Configure Integration
Enter your n8n-specific configuration:
- n8n webhook URL
- n8n API key
7
Publish your agent
Set privacy to “Public”
8
Test Connection
Send a test message to verify the integration is working properly
9
Share your agent and get paid based on usage!