Browse our comprehensive FAQ section to quickly find solutions, learn how to use ChatMaxima features, and get step-by-step guidance for setup, integrations, and support.
The n8n Block allows your chatbot to trigger custom workflows in n8n. It's a powerful tool for connecting your chatbot to thousands of apps and services to automate complex tasks without code.
It acts as a bridge between your chatbot and virtually any other application. For example, a chatbot can collect data from a user and use this block to send that data to a multi-step workflow in n8n, which could then add a row to a spreadsheet, send an email, and create a ticket in your project management tool.
A webhook is a specific URL created in n8n that "listens" for data. When your chatbot sends data to this URL using the n8n block, it triggers the start of a pre-configured workflow in n8n.
You need an active n8n account and a workflow with a Webhook Trigger node. This node will provide the Webhook ID and URL you need to configure this block.
You use the "HTTP Method" field to select the action. The method you choose must match the one you have configured in your n8n Webhook Trigger node.
The HTTP Method defines the type of action your chatbot is requesting from the n8n webhook. The block supports six methods: POST, PUT, PATCH, GET, DELETE, and HEAD. Each method has a different purpose.
The Webhook ID is the unique part of the n8n webhook URL. It tells your chatbot exactly where to send the data. You will find this ID in the settings of your webhook trigger node in n8n.
The Authentication field is for security. It allows you to protect your webhook with credentials like an API key or a bearer token, ensuring that only your chatbot can trigger the n8n workflow.
Variable Mapping is how you link the data collected in your chatbot to the correct fields in the n8n workflow. You connect a Partner Variable (a field expected by the n8n webhook, like user_name) to a ChatMaxima Variable ({{user_name}}).
Send Query Parameters: Sends data as a string appended to the webhook URL. This is best for simple data like a search term.
Send Body: Sends data in the request's body, which is better for sending larger or more complex data like a full form submission.
POST is used to create a new resource or to send data to a service. Use this when you want to send data from your chatbot to n8n to create something, like a new lead in a CRM or a new row in a spreadsheet.
You would enable "Send Body" to send complex data like a JSON object containing all the information from a user survey.
PUT is used to replace an entire resource. Use this if you want to send data that completely replaces a record in a database, such as updating all of a customer's contact information at once.
PATCH is used to update or modify a specific part of a resource. Use this if you only want to partially update a record, like changing only a customer's phone number without affecting any other data.
GET is used to retrieve data. Use this when you want to get information from another service via n8n, such as checking a customer's order status or fetching product details.
You would enable "Send Query Parameters" to send a key-value pair in the URL, such as sending an order_id to the n8n webhook to look up that specific order.
DELETE is used to remove a resource. Use this if you want to trigger a workflow that deletes a record, such as removing a contact from a mailing list.
HEAD is similar to a GET request but it only retrieves the headers of a resource, not the content. This is useful for checking if a resource exists or verifying its last updated date without downloading the entire content.
You can use a POST request to send a lead's information to n8n. The n8n workflow can then automatically add that lead to your CRM and send a notification to your sales team.
Yes. You can use a POST request to send a message to an n8n webhook, which then has a Slack node to send a message to a specific channel.
Yes. You can configure a GET request in the chatbot that triggers an n8n workflow. The workflow can use a Google Sheets node to fetch data and send it back to your chatbot.
You can find the n8n Block in the External Integrations section of your chatbot builder.
You can find the video tutorial at: https://chatmaxima.com/video-tutorials/title-integrating-the-n8n-block-with-chatmaxima/
If the webhook URL is incorrect or the n8n workflow fails, the n8n block will not complete successfully. You should check the execution logs in your n8n account to diagnose the issue.
The response from the n8n webhook is saved in the "Save Response in Variable" field. You can check the contents of this variable to see if the request was successful.
A direct integration is pre-configured for a specific app (e.g., Stripe) and its actions. This n8n block is more flexible, allowing you to use a single block to trigger any custom workflow you build in n8n.
The n8n block is for triggering n8n webhooks. If you need a more advanced API call that is not supported by a direct integration, you can use the n8n webhook to trigger an n8n workflow that makes the custom API call for you.