Skip to main content

Building a Workflow

Workflows​

Building a Workflow

Workflows are built on a visual canvas. The left panel holds everything you can add, the canvas in the middle shows the flow, and the right panel shows the settings of the step you've selected.

  1. Click a trigger in the left panel. Every workflow starts with exactly one.
  2. Click actions and flow steps to add them below it. Drag between the dots on two steps to connect them.
  3. Click any step to open its settings on the right.
  4. Press Save (or Ctrl/⌘ + S). Drafts can be saved half-finished.

Triggers​

TriggerWhen it fires
App eventSomething happens in TrueBeep: a subscriber is created or opts in, a form is submitted (pick the form), an interaction is recorded (message, booking, purchase, order, refund, loyalty points…) or a campaign completes. With Twenty CRM connected: a person, deal, company, task or note changes in Twenty.
WebhookAnother system calls a signed URL. Its JSON body is available to every step. Create the URL in the workflow's Settings tab.
ScheduleOn a repeating schedule (minute, hour, day, month, weekday) in your timezone.
DateA number of days before, on or after a date field (such as a renewal date or the date they joined), once or every year, at a set time.

Steps​

Actions​

StepWhat it does
Send emailSends one of your email templates. You can set the subject and the sender address.
Send messageSends an SMS, WhatsApp, Messenger or Instagram message. Channels you haven't connected are greyed out.
Add / remove tagsAdds or removes tags on the subscriber. You can create a new tag right from the step.
Update custom fieldSets a field, increases a number, sets a date to today, or clears it.
API callCalls another system (GET, POST, PUT, PATCH or DELETE) with headers and a JSON body. Later steps can use the response.
Twenty CRMCreates a task or note, moves a deal, creates a deal, or creates, updates or finds a person in your connected Twenty.

Flow​

StepWhat it does
DelayWaits a number of minutes, hours or days before the next step.
ConditionSplits the flow into true and false paths. Check a field (equals, contains, does not contain, greater than, exists…), whether the subscriber is in a segment, or whether they have a tag.

The email step​

When you pick an Email template, a live thumbnail of it appears under the picker. Click Preview email to see it full size at desktop or mobile width.

  • To: usually {{trigger.email}}, the email of the subscriber who triggered the workflow.
  • Subject: leave it blank to use the template's name. Personal values work here too.
  • From: emails are sent from noreply@ your verified domain. Click Edit to change the name before the @ or pick another verified domain.
  • The step lists the personal values the template uses (such as [FIRST_NAME]) and tells you whether each one will be filled in.

The full preview lets you switch between Desktop and Mobile width to check the layout before anything is sent.

Personal values​

Any text field with + Insert value can use values that are filled in for each subscriber when the workflow runs:

  • Trigger values: {{trigger.email}}, {{trigger.firstName}} and anything a webhook sends.
  • Subscriber values: their profile, channels, tags and custom fields, such as {{subscriber.custom.city}}.
  • Form answers, by field name, when the trigger is a form submission.
  • API responses from an earlier API call step.
  • CRM values for Twenty events, such as {{crm.opportunity.name}} and {{crm.toStageLabel}}.
tip

Click + Insert value instead of typing a value by hand. It only lists values that exist for your trigger, so nothing ends up blank.

Faster editing​

ShortcutWhat it does
Ctrl/⌘ + C / VCopy and paste steps, even into another workflow or browser tab
Ctrl/⌘ + ASelect every step
Drag on the canvasDraw a box to select several steps
Shift / Ctrl + clickAdd or remove a step from the selection
Ctrl/⌘ + DDuplicate the selected steps
DeleteRemove the selected steps
info

If a step is missing something, it gets a red border and shows the first problem on the step itself, so you can fix it before publishing.