n8n
n8n is a powerful workflow automation tool that allows you to connect YourGPT with hundreds of other applications and services.
Before You Begin
Before starting the integration process, make sure you have:
- A YourGPT account: Sign up here
- An API Key generated from the YourGPT Dashboard > API Integration
- A Widget UID from your YourGPT bot
- Access to an n8n instance (local or cloud)
Integration Process
- Install the Community Node
- Open your local or cloud n8n instance
- Go to the Community Nodes panel from the sidebar
- Search for n8n-nodes-yourgpt
- Click Install

This will add the YourGPT node to your available workflow nodes.
- Set Up API Authentication
- Head over to YourGPT Dashboard
- Navigate to Integrations ⇒ API Integration ⇒ Generate API key
- Copy your API key for use in n8n
Note
For detailed instructions on generating API keys, visit the API Integration Guide
- Create a New Workflow
- Go to Workflows > New Workflow
- Click on the + (plus) icon to add a new node
- Search for YourGPT, then click "Add to Workflow"


- Set Up Authentication
- On the YourGPT node, click the credentials dropdown
- Select "Create new credential"
- Add your YourGPT API Key and save the credentials

- Create a Session
- Choose
"Create Session"as the action - Provide the
widget_uidin the action setup - The
widget_uidcan be found in your YourGPT Chatbot Integrations - Click Execute Node

Note
You'll receive a response with a
session_uidthat you'll need for the next step. - Choose
- Send a Message
- Add another YourGPT node to your workflow
- Select "Send Message" as the action
- Configure the following parameters:
widget_uid: The same ID used in the Create Session actionmessage: The text content you want to sendsession_uid: Map this from the output of the Create Session action
- Click Execute Node

- Test and Deploy
- Test your workflow thoroughly to ensure all actions work correctly
- Once tested, you can activate the workflow for production use
- Consider adding error handling for robustness
Advanced Usage
YourGPT can be integrated into complex n8n workflows to create powerful AI-driven automations.
Workflow Ideas
Here are some ways to use YourGPT in your n8n workflows:
- Content Generation: Use to generate content for social media or blogs on a schedule
- Customer Support Automation: Trigger YourGPT responses based on incoming support tickets
- Workflow Automation: Use to automate specific workflows.
For optimal performance, consider implementing error handling and retry logic in your workflows.