Groundbase

Workflows

A workflow is a small rule: when this happens, do these things. A deal moves to Closed Won, so create a follow-up task. A contact gets the tag hot, so text them. A form on your website posts a lead, so add them and open a deal. Each workflow reacts to one trigger and runs its steps once, top to bottom, for the record the trigger was about.

Find Workflows in the folded row at the bottom of the sidebar (click it to show the pages behind it; Settings → Appearance → Navigation moves pages into the main list), or in the More menu on Android.

If you've used sequences (or cadences) in another CRM, this is that: a workflow that sends a message, waits, and sends the next. A long Wait step can end the run instead of continuing if the contact replied, booked a meeting or opted out in the meantime (see the step table below).

The three parts of a workflow

Every workflow has the same shape. The editor shows them as three blocks.

  1. WHEN — the trigger. What has to happen for the workflow to start.
  2. ONLY IF — an optional condition. If it is false for this run, no steps run; the run shows as skipped in the history.
  3. THEN — the steps, in order. Each step either does something (send a text, apply a tag, create a task) or controls the flow (wait, branch).

The editor's Switched on box is ticked for a new workflow; save with it ticked and every matching event starts a run from that moment. A duplicate starts switched off, and editing keeps a workflow's current on/off state.

The record a run is about

Almost everything in a workflow refers back to the record the trigger fired on. When a contact is created, the record is that contact. When a deal is won, it is that deal. When a tag is applied, it is whatever got tagged. The engine loads that record at the start of the run and makes it available as entity in conditions and templates, and steps that need a record (apply tag, create note, text this person) use it automatically.

Two kinds of run start without a record: scheduled runs and Run now on a workflow that has no contact picked. In those runs a step that needs a record is skipped with a note in the history, not failed. If you want a scheduled workflow to text or email someone, put a literal number or address in the step's To field.

Triggers

When something happens — an event inside Groundbase. Pick one from the list.

EventFires whenRecordExtra values on trigger.payload
contact.createdA contact is added in the app, by a form, a booking, an inbound webhook or the API. A CSV import doesn't fire itthe contactfirst_name, last_name, email, phone
contact.updatedA contact is edited one at a time (bulk edits don't fire it)the contactchanged_fields (list of column names; absent when an inbound webhook made the change)
contact.status_changedA contact's status changes (not by import or bulk edit)the contactfrom_status, to_status (names), from_status_id, to_status_id, source
contact.deletedA contact is deletednonecontact_id
company.created / company.updatedSame for companiesthe companyname, industry, website; changed_fields on update
company.deletedA company is deletednonecompany_id
deal.createdA deal is openedthe dealtitle, value_cents, stage_id, contact_id, company_id
deal.updatedA deal is editedthe dealchanged_fields
deal.stage_changedA deal moves between stagesthe dealfrom_stage_id, to_stage_id, to_stage_name, is_won, is_lost, title, contact_id
deal.won / deal.lostA deal moves into a stage marked Won or Lostthe dealdeal_id, title, value_cents, stage_id, stage_name, contact_id, plus lost_reason on lost
deal.deletedA deal is deletednonedeal_id
task.createdA task, event or meeting is addedthe tasktitle, kind, due_at, contact_id, deal_id
task.updatedOne is editedthe taskchanged_fields
task.completedOne is marked donethe tasktitle, kind, contact_id, deal_id
task.deletedOne is deletednonetask_id
note.createdA note is added to a contact, company or dealthe notenote_id; from the app or API also body, contact_id, company_id, deal_id; from a workflow or inbound webhook, entity_type and entity_id
tag.applied / tag.removedA tag is added to or removed from a contact, company or dealthe tagged recordtag_name, tag_id, entity_type, entity_id
sms.sentYou send a text by hand or from a workflow (campaign texts don't fire it)the contactbody, to_number, from_number, segments, message_id
sms.receivedA text arrives on one of your numbersthe contact, when the number matched onebody, from_number, to_number, keyword, is_opt_out
sms.delivered / sms.failedTwilio reports the outcome of a textthe contactto_number, twilio_sid; error_message on failure
email.sentYou send an email from a connected inboxthe contactto, cc, bcc, subject, from
email.receivedAn email from a contact arrives in a connected inbox. Out-of-office and other automatic replies don't countthe contactfrom, subject, message_id
meeting.booked / meeting.rescheduled / meeting.cancelledA meeting with a contact is booked, moved or cancelled: on your booking page or by you in the app. Moving or cancelling it in Google Calendar fires the last two too; an event made in Google doesn't fire meeting.bookedthe meeting's contactstart_at, contact_id; booked_by, rescheduled_by or cancelled_by says who (booker, host, google_calendar)
call.completedA call endsthe contact, when the call matched onedirection, status, duration_seconds, from_number, to_number, twilio_call_sid
voicemail.receivedA voicemail landsthe contact, when the caller matched onefrom_number, to_number, duration_seconds, recording_url
invoice.issued / invoice.voidedAn invoice is issued or voidedthe invoice's contactnumber, total, currency, contact_id, company_id
invoice.paidAn invoice's balance reaches zero. A deposit is payment.recorded, not thisthe invoice's contacttotal
payment.recordedAny payment is recorded against an invoicethe invoice's contactinvoice_id, number, amount, balance, method, currency, contact_id, company_id
quote.issuedA quote is issued (numbered)the quote's contactnumber, total, currency, valid_until, deposit, contact_id, company_id
quote.accepted / quote.declinedThe customer accepts or declines a quote, on its link or marked by youthe quote's contactnumber, currency, total, contact_id, company_id; accepted_by_name, accepted_via and deposit_paid on accept; reason on decline
form.submittedSomeone submits one of your lead formsthe contact it created or matchedform_name, form_id, answers, created_contact (true when the contact is new)

Documents for signature also fire events (document.sent, document.viewed, document.signed, document.completed, document.declined, document.voided); see Documents & e-signatures.

On a schedule — once at a date and time, or every day or week, in the timezone you pick; or every hour at a chosen minute (that minute is counted in UTC, which only matters in a half-hour time zone such as India or Newfoundland). The editor shows the next four run times as you edit. Under Run for, pick Once, with no contact (there's no record in the run, so use it for reports and webhooks), or Each contact with any of these tags (up to five): every time it fires, it runs once for each matching contact, with that contact loaded, so tag, field and send steps act on them. If more than 500 contacts match, that run is refused and shows as failed in the run history; narrow the tags.

Inbound webhook arrives — an outside system (a form builder, Zapier, your own site) posts to one of your inbound webhooks from Settings → Connections. The record is the contact the webhook created or matched, and the whole posted body is on trigger.payload, so {{trigger.payload.first_name}} reads a field called first_name from the post (use dots for nested fields, such as {{trigger.payload.data.first_name}}).

I run it manually — nothing starts it but the Run now button.

Conditions

A condition is one or more comparisons. With two or more lines, choose all must match (every line must be true) or any can match (one is enough). A Branch step's condition is always all must match. Each line is a field, a comparison, and usually a value.

Fields you can compare

WriteMeaning
entity.<column>A column on the record the run is about. See the column legend below.
entity.tagsThe record's tags. Use with includes tag.
contact.<column>The contact the run is about. On a deal, task or note that is its contact; on a contact it is the record itself. contact.cf.<key> works too.
cf.<field_key>One of your custom fields, by its key (Settings → Fields & pipeline → Custom fields).
trigger.payload.<key>A value the event carried, from the table above. On tag.applied that is trigger.payload.tag_name.
trigger.eventThe event name, for example deal.won.
trigger.entity_type / trigger.entity_idWhat kind of record the run is about, and its id.
steps.<step id>.output.<key>Something an earlier step in the same run produced. See step outputs below. Only in a Branch step's condition: in the workflow's ONLY IF no step has run yet, so it is always empty.
A bare column name such as sourceShort for entity.source.

Write trigger.payload.tag_name, not payload.tag_name. The editor refuses the short form because the engine would read it as empty every time and the workflow would silently never run.

Comparisons

ComparisonReads asNeeds a value
equals / not equalsthe same text, ignoring caseyes
contains / not containsthe value appears anywhere in the fieldyes
starts with / ends withignoring caseyes
is setthe field has any value (is not empty)no
is emptythe field is blankno
includes tagthe record the run is about carries this tag, whatever field you write (use entity.tags). Contacts, deals and companies have tags; on a task or note run it is never trueyes, a tag name
greater than / greater or equal / less than / less or equalas numbers when both sides are numbers, otherwise as text, which sorts dates correctlyyes
older than (days) / newer than (days)the field is a date more (or less) than this many days ago. On last_contacted_at, "older than" includes contacts never contactedyes, a number of days

Examples: entity.source equals website. entity.phone is set, so a text step cannot fail. entity.tags includes tag VIP. entity.value_cents greater than 500000 for deals over $5,000. entity.last_contacted_at older than (days) 30 (includes never contacted).

Steps

Each step has a type, its own settings, and an On error choice: Stop workflow (the run fails at this step) or Continue to next step.

StepWhat it doesSettingsNeeds a record
Send SMSTexts through your Twilio number. Honours STOP opt-outs.Message body (required). To optional: blank texts the run's contact (on a deal, task or note, its contact), or type a number or {{contact.phone}}.A contact, unless To is filled in
Send emailEmails from your connected inbox. An address that has hard-bounced before is skipped, and the run carries on.To optional: blank emails the run's contact, or an address or {{contact.email}}. Subject and Body required.A contact, unless To is filled in
Apply tag / Remove tagAdds or removes a tag on the record. The tag is created if it does not exist.Tag name (required). Through the API or your AI assistant, an entity type and id can target a different record.Yes
Create taskAdds a task, linked to the record: a contact links itself and its company, a deal links the deal and its contact and company, a company links itself.Title (required), Description, Due in days (0 to 3650, lands at 9 am your time). Through the API or your AI assistant also Due at (a date), Kind (task, event, meeting) and Location.No, but unlinked without one
Create noteDrops a note on a contact, company or deal.Body (required).Yes
Update fieldChanges one native column on the record.Entity type, Field and Value. Contact: first_name, last_name, email, phone, phone_secondary, primary_phone, position, city, source, notes, company_id. Company: name, website, industry, notes, city, state. Deal: title, value_cents, stage_id, notes, contact_id, company_id, close_date. Task: title, description, due_at, end_at, location, kind, completed_at, priority (0 or 1).Yes
Set contact statusMoves the run's contact (on a deal, task or note, its contact) to a status. Its timeline shows the change, and Contact status changed workflows run.Status (required).A contact
Set custom fieldWrites one of your custom fields.Field key and Value.Yes
Fire webhookPOSTs to an outside URL: Slack, Zapier, your own service. A reply other than 2xx fails the step; redirects aren't followed, so use the final address; it times out after 15 seconds.URL (required), Method (GET, POST, PUT, PATCH, DELETE). The body is {event, trigger, entity}; custom Headers and Body can be set through the API or your AI assistant. Private addresses and Groundbase's own hosts are refused.No
Add to campaignPuts the run's contact into an ongoing campaign, at its first step, under the campaign's own rules — skipped if they have no address on the campaign's channel, have unsubscribed or have opted out; never added twice. The step fails if the campaign is one-time or not currently sending.Campaign (an ongoing one).A contact
Create dealAdds a deal for the run's contact (on a deal, its contact; on a company, the company), at the end of the stage you pick. Fires Deal created workflows.Title (required, can use {{contact.first_name}}), Value (an amount like 1200 or 1,200.50, or a template), Stage (blank = your first open stage).No
Move deal to stageMoves the deal, exactly as dragging it on the board: it goes to the end of the column, its timeline says so, and a Won or Lost stage fires Deal won / Deal lost workflows too. Already there: nothing changes.Stage (required). Deal optional: blank is the deal the run is about; for a run about a contact, use a Create deal step's deal_id.A deal, unless Deal is filled in
Set deal valueChanges the deal's value.Value (required, an amount or a template). Deal optional, as above.A deal, unless Deal is filled in
WaitPauses the run. For a length of time: up to 60 seconds happens inline; anything longer parks the run and it resumes within about a minute of the deadline, up to 30 days. Until a time of day: the next 9:00 (or whatever time you pick) in your account's timezone, later today if it hasn't come yet, otherwise tomorrow. Until a date: a fixed date or a date field on the record (for example a custom Renewal date field), on the day or a number of days before or after it, at the time you pick (9:00 if you don't). A date that has already passed carries straight on; a contact with no date in that field stops the run there, shown as skipped, without counting as a failure. A date more than a year away fails the run. A long wait can also end the run early: tick Replied, Booked a meeting or Opted out, and when the wait is over the run stops instead of continuing if the contact has done that since the run started. A stopped run shows as skipped with the reason.How long, or until when, plus the stop conditions. A wait inside a branch is capped at 60 seconds and can't be a wait-until; put long waits at the top level.No
BranchIf this, then these steps, else those.A condition (same rules as above), a then list and an else list.No

A workflow may have up to 50 steps and branches three deep. Short waits (a minute or less) can add up to 4 minutes in one workflow at most; use a longer Wait for anything more.

Quiet hours

At the top of the Workflows page, Only send during set hours sets the days and hours your workflows may text, email or call anyone. It covers every workflow. When a run reaches a Send SMS or Send email step outside those hours, it waits and sends at the start of the next open hour; the run history shows quiet hours, runs at …. Steps before the held text or email run straight away; the held step and everything after it wait until the hours open. A Branch that contains a text or email waits as a whole. Hours are in your own time zone. It's off until you turn it on. Quiet hours and the daily limits below are on the Workflows page in the web and desktop apps, and apply to every workflow.

How many workflows, and how long a run can wait

You can have up to 50 workflows on an account. Delete one to add another.

A run waiting on a Wait step that's held back (the workflow is paused, or the account isn't active) doesn't resume weeks later with a stale message: if it's more than 7 days past the time it should have continued, it closes as expired and the run history says so.

Daily limits

Under quiet hours, Daily limits caps how many emails and texts all your workflows together may send in a day. Workflow emails go out from your own mailbox, and Gmail and Outlook lock an account that sends too much in a day; texts cost you on Twilio. A send over the limit isn't dropped: the run waits and sends just after midnight. The box shows how many went out today. Unless you change them, the limits are 200 texts and 400 emails a day; you can raise or lower either one, up to 100,000 a day, and clearing a box puts it back to the default. Campaigns have their own daily limit, in Settings → Email → Campaigns.

Templates: putting values into text

Any text field in a step can contain {{...}} placeholders. They are filled in when the step runs. Unknown placeholders come out empty rather than stopping the run.

PlaceholderGives you
{{first_name}}, {{last_name}}, {{full_name}}, {{email}}, {{phone}}Those columns on the record. {{company_name}} and {{city}} work too. {{deal_value}} and {{my_name}}, which work in campaigns and one-off texts, don't work in workflows and come out blank; use {{entity.value_cents}} on a deal run.
{{entity.<column>}}Any column on the record. {{entity.title}} on a deal, {{entity.position}} on a contact.
{{cf.<field_key>}}A custom field.
{{trigger.event}}The event name.
{{trigger.payload.<key>}}A value the event carried. {{trigger.payload.to_stage_name}} on a stage change; {{trigger.payload.email}} for a field called email in an inbound webhook post.
{{steps.<step id>.output.<key>}}Something an earlier step produced. Give the step an id in the editor so the reference survives edits.

Press Variable beside any field to insert one from a list instead of typing it.

Column legend: what entity. can reach

RecordColumns
Contactfirst_name, last_name, full_name, email, phone, phone_secondary, primary_phone, company_id, position, city, source, notes, last_contacted_at, created_at, updated_at, plus tags
Companyname, industry, website, city, state, country, notes, created_at, updated_at, plus tags
Dealtitle, value_cents (whole cents: $1,500 is 150000), stage_id, contact_id, company_id, close_date, notes, created_at, updated_at, plus tags
Tasktitle, description, due_at, end_at, kind, location, priority, contact_id, company_id, deal_id, completed_at, created_at, updated_at

Step outputs: what steps.<id>.output. can reach

StepOutput keys
Send SMSmessage_id, segments, status, to, contact_id
Send emailmessage_id, rfc_message_id, to, subject, contact_id
Apply tag / Remove tagtag_name, entity_type, entity_id
Create tasktask_id, title, due_at, contact_id
Create notenote_id, entity_type, entity_id, body
Update field / Set custom fieldentity_type, entity_id, field or field_key, value
Fire webhookurl, method, status_code, response_body
Add to campaigncampaign_id, contact_id, queued, already, skipped
Create dealdeal_id, title, value_cents, stage_id, contact_id
Move deal to stagedeal_id, stage_id, stage_name, moved, is_won, is_lost
Set deal valuedeal_id, value_cents
Branchpassed (true or false), ran
Set contact statuscontact_id, status, status_id, changed
Waitdelay_seconds and resumed_from inline for a wait of 60 seconds or less; a longer wait gives no output; a wait-until whose date had already passed gives until and resumed_from past

Running one by hand

Run now on a workflow's row starts it immediately. It's on switched-on workflows that you run by hand or that react to a record event (not scheduled or inbound-webhook ones). For workflows that react to a record event it asks you to pick a contact first, and that contact becomes the record. Two things to know:

Reading the run history

Open a row's chevron to see its latest 30 runs, newest first (the Android app shows the last 5). Each run has a status and one line per step.

Run statusMeaning
completedThe run reached the end. Every step ran or was skipped, except a step set to Continue to next step on error, which can show failed inside a completed run.
skippedEither the ONLY IF condition was false for this record and nothing ran, or a Wait step's stop condition ended the run early (they replied, booked or opted out); in that case the steps before the wait already ran.
failedA step errored with On error set to Stop, or a waiting run couldn't continue (the workflow was deleted, or the step it waited on was removed). The red line under the run says why.
pausedThe run is parked on a Wait step. The row shows N waiting.
runningThe run is going now.
expiredThe run waited more than 7 days past its time (see above) and was closed without sending.

Step lines read ok with what happened ("created task … linked to deal", "applied hot to contact Jane Doe"), skipped with the reason, or failed with the error.

Pausing, editing and deleting

Ask the assistant instead

If you use Groundbase with Claude or ChatGPT through AI integrations, you can say what you want in a sentence ("when a deal is won, create a task to send the welcome kit") and the assistant will build it. It can also read the run history and tell you why a workflow skipped or failed.