Quick Overview
This workflow triggers on new Twenty CRM custom supportCase records, applies an urgent or standard SLA based on priority, creates or reuses a deterministic owner task, and updates the support case with triage metadata for replay-safe escalation.
How it works
- Triggers when Twenty CRM sends a record-created event for the custom
supportCase object.
- Fetches the full support case record from Twenty CRM using the received record ID.
- Skips the case if it already has a
triagedAt timestamp to avoid re-triaging replayed events.
- Normalizes priority, sets an urgent (2-hour) or standard (24-hour) due date, and builds a deterministic task title for idempotent task creation.
- Searches Twenty CRM tasks for an existing task with the same title and creates a new task assigned to the case owner when none exists.
- Updates the Twenty CRM support case with the triage status,
triagedAt, the linked task ID, and a recorded triage outcome.
Setup
- Create a Twenty CRM custom object with API name
supportCase and fields for name, summary, priority, customerEmail, status, triagedAt, triageOutcome, and lastTaskId (plus an optional assignee/workspace member reference used for task assignment).
- Add Twenty API credentials for the Twenty CRM trigger and action nodes, and ensure the trigger’s webhook is configured in Twenty with the correct shared secret/signature settings.
- Update your priority values and SLA timing rules in the workflow’s triage logic (for example, which priorities count as urgent and the due date offsets).
- Create a few test support cases in Twenty CRM (urgent, standard, and already-triaged) to confirm task reuse/creation and the support case update behavior.