n8n
Connect your n8n workflows to Pactory
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
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
Use chatInput
You can connect the webhook node to AI Agent or other nodes and use the following expression to use the user message.
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:
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
Use chatInput
You can connect the webhook node to AI Agent or other nodes and use the following expression to use the user message.
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:
Use our pre-built workflow template and import it into your n8n instance:
Download Workflow TemplateCreate 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 Basic Settings
Fill in the standard agent configuration fields (name, description, etc.)
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!