How to add a webhook

Webhooks are very powerful. They enable you to automate actions like aggregating data or transforming it, on a backend.

Adding a webhook

You can choose between three events:

  • Created webhooks are fired once the bot is starting up. This marks the actual moment when the bot launches, when not it is scheduled.
  • Succeeded webhooks are triggered once a bot successfully finishes.
  • Failed webhooks are triggered once a bot fails.

Webhook Payload

Below is the description of the data we send to your URL:

{
	uid: "The webhook UID",
	job_uid: "The job UID the webhook has been triggered on.",
	message: "Default message based on failure or success.",
	project_uid: "Your project UID. Useful to integrate our API.",
	error: "If there's an error we add this key with the error message.",
	job_ref: "The key is present only if the bot is inside a recipe."
}

Still need help? Contact Us Contact Us