Skip to content
Developers

Webhook scenarios

Step and template webhooks start with three triggers, described first below. You can choose other events on top of them, or instead of them.

Set up a webhook at the template level. It fires immediately when someone launches a new process from that template - even before any tasks are done.

  • Use case: Track new process starts in real time (e.g., log every new client onboarding in a spreadsheet or database).

Set up a webhook on a specific step within a template. It fires only when that particular task is completed.

  • Use case: Trigger follow-up actions in other systems when a key milestone is reached (e.g., when “Contract Signed” is completed, send data to your finance system).

A template-level webhook also fires when all tasks in a process are completed.

  • Use case: Mark a deal as “closed” in your CRM or archive records when a full process wraps up.

A webhook can also fire at these moments, once you choose them through the webhooks API:

  • A task is created (task.created): it first becomes visible to its assignees. Use it to message someone on WhatsApp, Slack or Teams when new work lands on them.
  • Assignees change (task.assignees_changed): people or groups are added or removed. Use it to tell the new owner, and to tidy up for the person who was taken off.
  • A deadline moves (task.deadline_changed): use it to update a shared calendar or a client’s due date.
  • Form fields are saved (task.form_fields_updated): use it to keep another system in step as people fill in a task, before they complete it.
  • A task is reopened (task.reopened): use it to undo whatever the completion started elsewhere.
  • A process is archived (process.archived): use it to close the matching record in your CRM.

Step and template webhooks can choose task assignments, comments and reported issues too. Organization-wide webhooks send those unless you choose otherwise. Webhook payload structure lists every event and shows an example body for each.

These videos show practical ways to use webhooks, often with a middleware tool like Zapier:

  • Send task data to a spreadsheet Form answers from a Tallyfy task become new rows in a spreadsheet.

  • Start a new process when a task finishes Completing one task in Tallyfy launches a different process.

  • Send form data from multiple steps How to send data collected across several steps to another service.

  • Send an email when a task finishes A custom email goes out when a task is completed.

For a sample payload, open Webhook-Sample.json ↗.

At the top level, every template, step and organization-wide webhook has event (what happened), event_id (an ID to deduplicate on), occurred_at (when it happened) and webhook (which webhook sent it). Key sections for task completion webhooks include:

  • this_task: The task that triggered the webhook - includes id, title, alias, status, summary, deadline, position, captures (form field values), owners (assigned users and guests), completed_at, completed_by, and assets. assets lists files attached to the process, each with a download link, so it isn’t limited to this task’s files. For every file uploaded into a form field, read the file fields in form-fields, where each file uploaded to Tallyfy carries its id and filename, apart from files in a top secret task the webhook leaves out. The download link is built from that id.
  • next_task: The first incomplete task that isn’t auto-skipped or a top secret task the webhook leaves out, ordered by position. Includes the same fields as this_task (minus assets). Returns an empty array [] if there’s no such task.
  • process: The overall process instance - includes id, organization_id, name, summary, status, progress, created_at, ClientURL, prerun (kick-off form values), process_forms (all form field values across all tasks, apart from top secret tasks the webhook leaves out), and tags.
  • template: The source template - includes id, title, alias, and summary.
  • form-fields: A flat map of all form field values across all tasks and the kick-off form, keyed by alias, apart from top secret tasks the webhook leaves out.
  • process-tasks: A map of task aliases to task IDs for the entire process, apart from top secret tasks the webhook leaves out.
  • guest-links: URLs for each guest assignee to access their tasks, apart from a guest assigned only to a top secret task the webhook leaves out.
  • launcher and completer: Both carry the person whose action sent the webhook. For a task completion, that’s the person who completed the task, not the person who launched the process.

For process launch, completion and archiving webhooks, the payload includes process data, process-tasks, ko-form-fields (kick-off values), guest-links, and launcher. Other task events carry the same sections as task completion, plus a key or two about what changed.

Refer to the sample JSON file linked above for the full structure.

Tallyfy lets you choose between two date formats for webhook data. You select this in your organization settings:

  • ISO format (default): yyyy-MM-ddTHH:mm:ssZ
  • Human-readable format: d/m/Y h:i A T - dates are converted to your organization’s timezone
Zapier Insert Data panel showing a webhook date in human-readable formatZapier Insert Data panel showing a webhook date in ISO 8601 format

Tallyfy webhooks include an X-Tallyfy-orgID header containing your organization ID. It tells your receiving system which Tallyfy organization sent the request. It doesn’t secure anything: the organization ID appears in Tallyfy links such as guest links, so anyone who knows it can send the same header.

Request Catcher showing the X-Tallyfy-Orgid header in a webhook POST

Integrations > Webhooks

Tallyfy webhooks send a JSON message by HTTP POST to a URL you choose when something happens in…