Automations
Make Dhvanee do the follow-up work after calls, forms and messages, without anyone clicking.
An automation is a workflow that starts on its own when something happens, and then does a few jobs for you. Only owners and admins can build automations; if you are a member, ask your workspace owner.
What you can do with it
After every call
Email yourself the call summary, add the caller to a Google Sheet, or create a deal in your CRM.
When a lead comes in
A website form or a Meta lead ad arrives, and your agent calls the person back.
Around appointments
A booking is made or cancelled, and the host gets a Slack or WhatsApp message.
Your first automation: email me every call summary
This example sends you an email with the summary each time one of your agents finishes a call. It takes about five minutes.
- 1
Connect Gmail
Open Integration in the sidebar and connect your Gmail account. Every app a workflow uses needs a connection first. See Integrations.
- 2
Create the workflow
Open Automation in the sidebar and choose Create. A new workflow called Untitled workflow opens. Click its name in the top bar to rename it, for example "Call summaries".
- 3
Choose what starts it
On the empty canvas choose Add first step, then Call finished. Pick All calls (or only inbound or outbound) and, if you like, one agent.
- 4
Add the email
Add a Gmail step that sends an email. In To, type your own address, and give it a subject such as "New call".
- 5
Test it once
Choose Run test in the top bar. For Call finished, the test uses your most recent real call (you need at least one), so the email you get is a real one.
- 6
Put the call details in
Open the Gmail step again. The Input pane now shows that call. Drag summary into the body and phone into the subject. Each appears in curly braces, for example
{{ $('Call finished').item.json.call.summary }}, and a preview shows the real text. Run the test again to check the email. - 7
Turn it on
Choose Publish. From now on it runs after every finished call. The status next to the name changes to Active.
Testing and running
| Button | What it runs | When to use it |
|---|---|---|
| Run test (top bar) | Your current draft, even before you publish. Unsaved changes are saved first. | While you build. It will not start until every step it would run is set up, and it tells you which step is not. |
| Execute Workflow (bottom left) | The published version. It is off until the workflow is active. | With Trigger manually, it starts a run after you confirm Run now in the Run the live workflow? popup. With On form submission, it opens the live form. With other triggers, it runs the latest failed, cancelled or not confirmed run again. |
The first time you test a workflow, its starting data depends on the trigger:
- Trigger manually and On a schedule just run.
- On form submission opens a test form; Submit test sends your answers.
- On webhook call and Telegram wait up to two minutes for a real event, showing Listening for a test event.
- Call finished, Gmail and Outlook use your most recent real call or message.
- Other app triggers (Slack, WhatsApp, Shopify and so on) need one real event first. Until then the test says so: turn the workflow on and send one.
After that, each test reuses the starting data of the workflow's latest run, so you can test again and again without sending a new event. Trigger manually and On a schedule always start fresh.
If a test would place a phone call, the editor first asks Place real phone calls?. Execute Workflow does not ask this, so check before you run it.
Changing a live workflow
- Edits save as you go (Saving…, then Last edited). They do not change the live version until you choose Publish again. Until then the status reads Active + draft changes and the old version keeps running.
- The version button in the top bar (it shows V0 before the first publish, then V1, V2 and so on) lists every published version. Restoring one publishes it straight away.
- To switch a workflow off, open its row menu in the list and choose Pause; choose Activate to switch it back on. Choosing Publish on a paused workflow also switches it back on.
- If a teammate saves the same workflow while you edit, you see Update conflict; choose Reload workflow to get their version.
Starts and steps you can use
| Starts when | Choose |
|---|---|
| You start it, or a program does through the Automations API | Trigger manually |
| A day and time comes round | On a schedule |
| Another system sends a request | On webhook call |
| Someone fills in a form you share | On form submission |
| One of your agents finishes a call | Call finished |
| Something happens in an app: a Gmail or Outlook message, Slack, WhatsApp, Telegram, Shopify, WooCommerce, a Meta lead, an Odoo record (one or more models), or a Dhvanee contact, appointment or opportunity changes | On app event, then the app |
After the trigger, add steps from these groups:
- Action in an app: send email or messages, update a sheet or a CRM, create a calendar event, call an API, and more. Dhvanee's own actions cover contacts, calendar, opportunities, your knowledge base and calls through your voice agents.
- AI: an AI agent, a summary or classification of text, or pulling details out of a message.
- Flow: Filter, If, Switch and Wait, to choose what happens next.
- Core: reshape data (Edit Fields, Split Out, Aggregate, Extract From File) and Form Ending, the page a form shows when it is sent.
- Human review: Send and wait for response on Gmail, Outlook, Slack or WhatsApp asks a person and waits for the answer.
Some steps are marked Execution coming soon: you can place them while you plan, but they cannot run yet.
See what happened
Every run is kept in the run history. To open it, choose See executions in a workflow's row menu, or open a run from inside the editor.
- Each run shows when it started, which workflow, Live or Test, how long it took and its status. Open it to see every step and what it received and sent.
- Filter by workflow, run type and status, and turn on Auto Refresh to keep the list current.
- Cancel run stops a run that is still going. Replay run runs a failed, cancelled or unconfirmed live run again.
| Status | What it means |
|---|---|
| Starting, Queued, Running | On its way or in progress. |
| Retrying | A step failed for a moment and will try again by itself. |
| Waiting for response | Paused until a person answers a Human review step. |
| Succeeded | Every step finished. |
| Failed | A step stopped with an error. Open the run to see which one and why. |
| Not confirmed | A step sent something, but the app did not tell us whether it arrived. Check the app before you replay, so it is not sent twice. |
| Cancelled | Someone stopped it. |
| Skipped | Nothing ran, because the event did not need this workflow. |
How long run history is kept depends on your plan.
Using data from earlier steps
The easiest way is to drag a field from the Input pane into a box. Behind the scenes it is written inside double curly braces, and you can also type it yourself:
| Write | Gives you |
|---|---|
{{ $json.call.summary }} | A field of what the previous step handed on |
{{ $('Step name').item.json.email }} | A field from an earlier step |
{{ $now }} | The current date and time ($today is just the date) |
A live preview under the box shows the result as you type.