Skip to main content
Version: 3.1.0-Beta 🚧

n8n

ToolJet can trigger n8n workflows using webhook URLs. Please refer this to know more about n8n.

Connection

To establish a connection with the n8n data source, click on the + Add new Data source button located on the query panel or navigate to the Data Sources page from the ToolJet dashboard.

Webhooks in n8n can be configured to operate with or without Authentication. If no authentication is required, select None as the Authentication type. For webhooks that require authentication, choose the appropriate method from the dropdown and provide the corresponding credentials.

Authentication Types

  • Basic Auth: To connect your n8n webhooks using basic auth you'll need to provide the following credentials:
    • Username
    • Password
n8n basicauth
  • Header Auth: To connect your n8n webhooks using header auth the following fields are required:
    • Name / Key
    • Value
n8n headerauth
tip

Webhook credentials and instance credentials are different. Please use the credentials that you use with the webhook trigger. Know more: Webhook Authentication.

Trigger Workflow

  1. Click on + Add button of the query manager at the bottom panel of the editor.
  2. Select the database added in the previous step as the data source.

Once the n8n data source is added, you can trigger a workflow with GET/POST URL.

GET Method

Choose the GET Method from the dropdown.

Optional Parameter:

  • URL parameters
n8n query

POST Method

Choose the POST Method from the dropdown.

Required Parameter:

  • Body

Optional Parameter:

  • URL parameters
n8n query