With the "Call an API" action you can send an HTTP request to an external service.
⬇️ Essential to enable use-cases such as:
- Trigger an automated scenario as soon as a row is created or modified.
- Automatically create a row in a workspace or another tool.
- Send the information of a validated lead to a sales-management database.
- Update an external database with the data entered in TimeTonic.
- Send a notification, message or alert to an end-user.
➡️ Prerequisites
- Webhook endpoint URL and HTTP POST method.
- Token or credentials for authentication (Bearer token or Basic).
- Fields in your table to receive the input parameters and store the response.
➡️ Detailed steps
Go to your board, open Automations, insert your trigger and conditions, then
1️⃣ Add the action
Click action ➕
2️⃣ Select → Call an API
➡️ Configuration window “Call an API”
|
|
1️⃣ Insert the URL
2️⃣ Authentication:
3️⃣ Webhook payload |
No authentication method
|
ℹ️ Do not use any authentication method; in this case your call is not secured. ➡️ In TimeTonicConfigure the HTTP call Fill in the following fields:
➡️ In the external tool
⬇️ Step-by-step → no-authentication method This video shows how to configure an API call to n8n without adding authentication. |
Bearer token method for an access token
|
ℹ️ Create an authentication token to protect access In TimeTonic
In the external tool
⬇️ Step-by-step → Bearer authentication methodUsing Bearer mode in TimeTonic to secure the HTTP call.
|
Use Basic authentication
|
ℹ️ To secure the call, use a username / password pair In TimeTonic
In the external tool
Configure authentication Fill in the following fields:
⬇️ Step-by-step → Basic Authentication methodConnecting to the API using login/password credentials (Basic Auth). |
Finally, in the last part of the configuration you will
3️⃣ Define the data (properties and values) to send to the API
|
Insert the data to send to the API via the request. Each added line represents a key/value pair to transmit. How to configure?
Example:You want to send the value of the Description field of a TimeTonic row in a JSON property called You insert ⬇️ This automatically generates the following JSON:
📌 You can add multiple lines if the API expects several fields using the ➕ button. |
5️⃣ Validate and test
Click Validate, then activate the automation.
Test: modify or create a row to trigger the API call, and check that the external tool has successfully received it.