dhaga.docs
Using Dhaga

Automations

Set up When / If / Then rules that follow up, notify someone, tag, move a card or call a webhook when something happens to a person, company or deal.

An automation is a rule in three parts. When something happens to a person, company, deal or pipeline card, If its conditions hold, Then Dhaga does one or more things. For example: when a deal enters a Won stage, create a follow-up to kick off onboarding tomorrow.

Automations are on the web. The phone app does not have them yet; on a phone, open Dhaga in the browser.

Plans

Automations in your personal workspace are part of the Power plan. In an organization they're included, whatever your own plan. Who can change them there depends on the organization's permissions, described in In an organization.

Without Power, your personal Automations page shows what Power adds and a See plans button. You can still read your automations, turn them off and delete them. You can't create, edit or turn them on, and the builder opens greyed out.

If your plan ends or drops below Power, your personal automations are paused, not deleted. They stop running and the list marks each one Paused. Pausing doesn't add anything to the run history. When you're back on Power, they run again from the next change.

Open your automations

Open Automations from More in the navigation. Each workspace has its own automations: your personal workspace, and each organization you belong to.

The page lists your automations, each with an On switch, a short summary of what it does, and a menu with Edit and Delete. Below the list, Start from a template offers ready-made rules.

The Automations page: two automations, Won → create onboarding follow-up with a Failed chip and Nudge the owner when a deal sits 14 days marked Never run, each with an on switch, a summary, a Recent runs toggle and a menu, then template cards, and a New automation button at the top

The Automations page: two automations, Won → create onboarding follow-up with a Failed chip and Nudge the owner when a deal sits 14 days marked Never run, each with an on switch, a summary, a Recent runs toggle and a menu, then template cards, and a New automation button at the top

Start from a template

Each template is a complete rule that works on any pipeline, because it checks a stage's outcome (Won or Open) rather than naming one stage. Select Use to create it. You can edit every part of it afterwards.

TemplateWhat it does
Won → create onboarding follow-upWhen a card enters a Won stage, adds the follow-up "Kick off onboarding with" and the person's name, due tomorrow.
Stage stale 14 days → notify assigneeFinds open cards that haven't moved in 14 days and notifies whoever is assigned to them, or the record's owner while nobody is assigned.
Tag VIP → notify ownerWhen someone gets the vip tag, notifies the person who added them.

The Start from a template section under two automations: Won → create onboarding follow-up, Stage stale 14 days → notify assignee and Tag VIP → notify owner, each with a sentence and a Use button

The Start from a template section under two automations: Won → create onboarding follow-up, Stage stale 14 days → notify assignee and Tag VIP → notify owner, each with a sentence and a Use button

Build an automation

  1. Select New automation.
  2. Give it a Name.
  3. Under When, pick what starts it.
  4. Under If, add any conditions with Add condition. With none, it runs every time.
  5. Under Then, add what it does with Add action.
  6. Select Save automation.

The New automation sheet: an empty Name field with an On switch; When, with the trigger A card enters a stage on any pipeline and any stage; If, reading Always with an Add condition button; and Then, with the action Notify someone, who The record's owner, an empty message and Add action

The New automation sheet: an empty Name field with an On switch; When, with the trigger A card enters a stage on any pipeline and any stage; If, reading Always with an Add condition button; and Then, with the action Notify someone, who The record's owner, an empty message and Add action

When: what starts it

Pick one trigger:

  • A card enters a stage, or A card leaves a stage: on any pipeline, one pipeline, or one stage. Reordering cards inside one stage doesn't count as a move.
  • A tag is added to a person, or A tag is removed from a person: any tag, or one you name.
  • A person is added: when you create someone from the new-person form or the quick add.
  • The assignee changes (organizations only): every time a lead's assignee changes, whether someone assigns, claims, reassigns or unassigns it. The builder says so under the trigger.
  • A follow-up is overdue: a follow-up that has been overdue for the number of days you set.
  • A card sits in a stage too long: a card that hasn't moved for the number of days you set.

The last two are checked on a schedule, every 15 minutes, rather than at the moment something changes. Each overdue follow-up or stale card starts the automation once, however many checks see it.

Some changes never start an automation, so that one bulk action can't set off hundreds of runs:

  • imports
  • facts the AI extracts from notes
  • contact sync
  • changes made through MCP or the chat bots

If: conditions

Every condition must hold for the automation to run:

  • Pipeline is
  • Stage is
  • Stage outcome is: Open, Won or Lost. Use it to react to any Won stage on every board without naming each one.
  • Person has tag
  • Record is a: Person, Company or Deal.

When the conditions don't hold, nothing runs and nothing is added to the run history.

Then: actions

Actions run in the order you list them:

  • Notify someone (Notify me in your personal workspace): the assignee (or the owner when unassigned), the record's owner, whoever triggered it, or a specific member of the organization. The notice appears in the notification bell, and as a push notification if you turned those on. Telegram and WhatsApp delivery is not built yet.
  • Create a follow-up: with the title you write, due in the number of days you set. It's filed on the person, or on a deal's first linked person.
  • Add a tag or Remove a tag: people only.
  • Move to a stage: moves the card to another stage. It isn't available on the two scheduled triggers yet.
  • Send a webhook: sends a crm_rule.fired event to one of your webhook endpoints. Pick the endpoint from the list. If you don't have one yet, the step links to Settings → Connectors → API & webhooks, where you add one.

In a notify message or follow-up title, you can insert {{name}}, {{stage}}, {{pipeline}}, {{tag}} and {{days}}. Dhaga fills them in from the record when the automation runs.

If one action fails, the run is marked failed with the reason, and the actions after it still run.

Webhooks are signed

An automation's webhook goes out like every other Dhaga webhook. It's signed with the endpoint's secret, so your server can verify the signature, and it's retried for about a day if your server is down. It carries ids only (the automation, the record, the trigger, and the pipeline, stage or tag involved), never a name or a message. In an organization, an endpoint only receives events about people its owner can see.

You can pick only your own endpoints, in the workspace the automation belongs to.

An automation made before signed webhooks may still have a webhook step with a typed-in address. That step doesn't send anything. Each run records "Pick a webhook endpoint for this step.", and the automation's other actions still run. The list marks the automation, and the step asks for an endpoint when you edit it.

Whose permissions a run uses

An automation acts as the person whose change started it, so it can do only what that person could do by hand. A scheduled automation acts as the person who created it. In an organization, if a member's automation tries to move a colleague's card that the member can't move, the run fails and says why.

A notice only goes to people allowed to hear about the record: members of the organization, or you, for an automation in your personal workspace.

Run history

Select Recent runs on an automation to see its last 20 runs, newest first (select Hide runs to close them again). Each run shows when it happened and its status:

  • Ran: every action succeeded.
  • Failed: an action failed. The reason is shown, for example "There's no person to attach a follow-up to."
  • Skipped: the run was held back by a safety limit, described below.
  • Running: the run hasn't finished yet.

Runs are kept for 90 days. A run records only which record it was about and a short reason, never a name, tag, message or address. A run that sends a webhook only queues it, so Ran means the event was handed to the webhook queue. Its delivery shows under Recent deliveries in Settings → Connectors → API & webhooks.

An automation's runs expanded: three rows, Failed 3 minutes ago with Follow-up could not be created: the record was removed, Skipped yesterday, and Ran 2 days ago

An automation's runs expanded: three rows, Failed 3 minutes ago with Follow-up could not be created: the record was removed, Skipped yesterday, and Ran 2 days ago

Safety limits

Three guards stop automations from running away:

  • No loops: an automation's own action can start another automation, for example adding a tag that another rule reacts to. Each automation runs at most once in such a chain, and a chain stops after 3 more steps.
  • A rate limit: a workspace can run up to 120 automations a minute. Past that, runs are recorded as Skipped with the message "Paused: too many automation runs in this workspace in the last minute."
  • No double runs: if the same change reaches Dhaga twice, the automation still runs once.

In your personal workspace

It is just you, so notifications go to you: the action reads Notify me, with nothing to choose, and the starter templates read remind me (for example, Tag VIP → remind me). The assignee changes trigger is not offered, since nothing is ever assigned to anyone else, and automations you saved earlier with an assignee or member recipient keep working and now read as Notify me. Organizations also get the Notify someone action, with its choice of recipient.

In an organization

Everyone in an organization can see its automations and their run history. Creating, editing, pausing and deleting them needs the Manage org automations permission (workflow:manage). Owners and admins have it, and you can add it to a custom role. Without it, the page shows the automations read-only. In your personal workspace you manage your own automations, on the Power plan.

One known limit: an organization's automation can only be edited, paused or deleted by the person who created it, even if a colleague also has Manage org automations.

Limits

  • Up to 50 automations per workspace.
  • Up to 10 conditions and 10 actions per automation, and up to 3 webhooks.
  • A scheduled trigger takes between 1 and 365 days. It only considers follow-ups and cards that crossed that line within the last 30 days.

Your data

Automations and their run history are part of your data export. Deleting an automation deletes its run history too.