Trigger Workflow via WebHook
Nected allows you to securely initiate a workflow from your systems using a Webhook URL. This feature enables you to pass custom parameters and retrieve all pertinent information related to the workflow, ensuring seamless integration and efficient data handling.
To trigger a workflow via webhook, follow these steps:
Test and Publish the Workflow: Ensure the workflow you want to trigger is tested and published.
Access the Trigger Node:
Go to the Trigger Node and click on it.
Navigate to the Settings tab, where you will find the API and WebHook URL information.
Use the WebHook URL:
The Settings tab will display the WebHook URL, which contains all the information and behavior of the workflow trigger.
Use the URL to trigger the workflow via WebHook. Below is the URL:
The WebHook URL consists of the following components:
Base URL:
https://nected-xx.nected.io/nected/webhook
env: The environment of the rule, either
staging
orproduction
.entity_name: The name of the rule to be executed.
id: The ID of the rule.
Inside the 'How to Trigger?' section you'll get this type of cURL
code, which you can copy and use seamlessly:
Passing Custom Attributes Using Webhook
After Selecting the Webhook URL, you can use the webhook to pass the information as a custom attribute.
To pass custom attributes in Workflow via using WebHook, You can use this flattened payload structure like this:
Once You pass the payload, the webhook will not wait for the workflow execution it runs asynchronously backend. after its successful execution, it responds via a successful message.
Last updated