Calling Webhook
This tutorial walks you through creating a custom tool in Ciniter that calls a webhook endpoint, passing the necessary parameters in the request body. We will use Make.com to set up a webhook workflow that sends messages to a Discord channel.
Setting Up a Webhook in Make.com
-
Sign up or log in to Make.com.
-
Create a new workflow containing a Webhook module and a Discord module, as shown below:

-
From the Webhook module, copy the webhook URL:
-4a33d258d76006d550d902b30be3d336.png)
-
In the Discord module, configure it to pass the
messagefrom the webhook body as the message sent to the Discord channel:-2273a8e3df3d054c116308762b4e8c40.png)
-
Click Run Once to start listening for incoming requests.
-
Send a test POST request with the following JSON body:
{
"message": "Hello Discord!"
}-3f025bc34789738a6d7e25ed67d7848e.png)
-
If successful, you will see the message appear in your Discord channel:
Congratulations! You have successfully set up a webhook workflow that sends messages to Discord. 🎉
Creating a Webhook Tool in Ciniter
Next, we will create a custom tool in Ciniter to send webhook requests.
Step 1: Add a New Tool
-
Open the Ciniter dashboard.
-
Click Tools, then select Create.

-
Fill in the following fields:
Field Value Tool Name make_webhook(must be in snake_case)Tool Description Useful when you need to send messages to Discord Tool Icon Src CiniterFlow Tool Icon -
Define the Input Schema:
-1dcb3ec8aef8e3d6bc8055bcf47d4499.png)
Step 2: Add Webhook Request Logic
Enter the following JavaScript function:
const fetch = require('node-fetch');
const webhookUrl = 'https://hook.eu1.make.com/abcdef';
const body = {
"message": $message
};
const options = {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(body)
};
try {
const response = await fetch(webhookUrl, options);
const text = await response.text();
return text;
} catch (error) {
console.error(error);
return '';
}
-
Click Add to save your custom tool.
-99294d78690df42296ae75a872c1bce5.png)
Step 3: Build a Chatflow with Webhook Integration
-
Create a new canvas and add the following nodes:
- Buffer Memory
- ChatOpenAI
- Custom Tool (select
make_webhook) - OpenAI Function Agent
-
Connect them as shown:

-
Save the chatflow and start testing it.
Step 4: Sending Messages via Webhook
Try asking the chatbot a question like:
"How to cook an egg?"
Then, request the agent to send this information to Discord:
-043de2712dccc9465ebbf4657246642d.png)
You should see the message appear in your Discord channel:
-85719ab8fa0c746312ce2f86fbac831f.png)
Alternative Webhook Testing Tools
If you want to test webhooks without Make.com, consider using:
- Beeceptor – Quickly set up a mock API endpoint.
- Webhook.site – Inspect and debug HTTP requests in real-time.
- Pipedream RequestBin – Capture and analyze incoming webhooks.
More Tutorials
- Watch a step-by-step guide on using webhooks with CiniterFlow custom tools:
info
Video tutorial for CiniterFlow coming soon!
We're currently creating new tutorial videos that showcase the CiniterFlow interface and features. Check back soon for updated video content. :::
- Learn how to connect CiniterFlow to Google Sheets using webhooks:
info
Video tutorial for CiniterFlow coming soon!
We're currently creating new tutorial videos that showcase the CiniterFlow interface and features. Check back soon for updated video content. :::
- Learn how to connect CiniterFlow to Microsoft Excel using webhooks:
info
Video tutorial for CiniterFlow coming soon!
We're currently creating new tutorial videos that showcase the CiniterFlow interface and features. Check back soon for updated video content. :::
By following this guide, you can trigger webhook workflows dynamically and extend automation to various services like Gmail, Google Sheets, and more.