Actions114
- Instance Actions
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
- Call Actions
- Label Actions
- OpenAI Actions
- N8N Integration Actions
- EvoAI Actions
- Template Actions
- Business Actions
N8N Integration → Create Workflow
AI-generatedOverview
This node interacts with the N8N API to create a new workflow in a specified instance. It is useful for automating the creation of workflows programmatically, such as setting up new automation processes triggered by specific events or keywords.
Use Case Examples
- Creating a workflow that triggers on all incoming messages to automate responses.
- Creating a workflow that triggers only when certain keywords are detected in messages, enabling targeted automation.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the N8N instance where the workflow will be created. |
| Workflow Name | The name to assign to the new workflow being created. |
| Webhook URL | The URL of the N8N webhook that will trigger the workflow. |
| Trigger Type | Defines when the workflow should be triggered, either on all messages or only on messages containing specific keywords. |
| Trigger Keywords | Comma-separated keywords that trigger the workflow when the Trigger Type is set to 'Keyword'. |
| Additional Options | Optional settings to customize workflow triggering behavior, including debounce time, session management, and message source filters. |
Output
JSON
workflowId- The unique identifier of the created workflow.workflowName- The name of the created workflow.instanceName- The name of the instance where the workflow was created.webhookUrl- The webhook URL associated with the workflow trigger.triggerType- The type of trigger configured for the workflow (all messages or keyword-based).triggerKeywords- The keywords that trigger the workflow, if applicable.additionalOptions- Additional configuration options applied to the workflow trigger.
Dependencies
- An API key credential for authenticating with the N8N API instance.
Troubleshooting
- Ensure the Instance Name and Webhook URL are correctly specified and accessible.
- Verify that the API key credential has sufficient permissions to create workflows.
- If using keyword triggers, confirm that keywords are properly formatted and not empty when Trigger Type is 'Keyword'.
- Check network connectivity to the N8N webhook URL to avoid trigger failures.