Skip to main content

Automations

Automations let you build workflows that run automatically when specific events happen. Reduce manual work by triggering actions like sending emails, creating tasks, or notifying your team.

How automations work

Every automation has two parts:
  1. Trigger - The event that starts the automation (e.g., “When a lead is created”)
  2. Actions - What happens next (e.g., “Send an email” and “Create a task”)
Trigger → Action 1 → Action 2 → ...

Screenshot: Automation builder

Creating an automation

  1. Go to Automations
  2. Click Add Automation
  3. Name your automation
  4. Choose a trigger
  5. Add one or more actions
  6. Enable the automation

Available triggers

Event triggers

These fire when something happens in Heffl:
TriggerDescription
Lead CreatedA new lead is added
Lead UpdatedA lead’s fields are modified
Lead Stage ChangedA lead moves to a different stage
Lead DeletedA lead is removed
Deal CreatedA new deal is added
Deal UpdatedA deal’s fields are modified
Deal Stage ChangedA deal moves to a different pipeline stage
Deal DeletedA deal is removed
Client CreatedA new contact or company is added
Client UpdatedA contact’s fields are modified
Client DeletedA contact is removed
Quotation CreatedA new quotation is added
Quotation UpdatedA quotation’s fields are modified
Quotation DeletedA quotation is removed
Form Response CreatedA form submission is received
Webhook TriggerA custom external webhook is received

Webhook trigger

Use webhook triggers to start automations from external systems:
  1. Select Webhook Trigger
  2. Copy the generated webhook URL
  3. Configure your external system to POST to this URL
  4. The automation runs whenever the webhook is called

Available actions

Heffl actions

ActionDescription
Send NotificationSend an in-app notification to team members
Create LeadAutomatically create a new lead
Create TaskCreate a task and assign it to team members

Email actions

ActionDescription
Send Email via GmailSend through your connected Gmail account
Send Email via OutlookSend through your connected Outlook account
Send Email via Zoho MailSend through your connected Zoho Mail account
Send Email via SMTPSend through your custom SMTP server
Email actions support:
  • Dynamic recipient fields (to, cc, bcc)
  • Subject and body templates with merge tags
  • HTML email content

Telegram actions

ActionDescription
Send Telegram MessageSend a message to a Telegram chat
Requires a Telegram bot token and chat ID.

Utility actions

ActionDescription
Trigger WebhookSend an HTTP POST request to an external URL
DelayWait for a specified duration before continuing

Using merge tags

Actions can include data from the trigger event using merge tags. For example, when a lead is created:
  • {{lead.name}} - Lead’s name
  • {{lead.email}} - Lead’s email
  • {{lead.title}} - Lead title
  • {{lead.source}} - Lead source
Available merge tags depend on the trigger type and are shown in the action configuration.

Managing automations

Enable / Disable

Toggle automations on or off without deleting them. Disabled automations won’t fire even if the trigger event occurs.

Testing

Test an automation by:
  1. Creating a test record that matches the trigger condition
  2. Checking that all actions execute correctly
  3. Review the automation logs for any errors

Examples

Notify the team when a deal is won

  • Trigger: Deal Stage Changed
  • Condition: New stage type is “Won”
  • Action: Send Notification to the sales team

Send a welcome email to new leads

  • Trigger: Lead Created
  • Action: Send Email via Gmail with a welcome template

Create a follow-up task when a quotation is sent

  • Trigger: Quotation Updated (status changed to Sent)
  • Action: Create Task - “Follow up on quotation” assigned to the sales person

Forward form submissions to Slack via webhook

  • Trigger: Form Response Created
  • Action: Trigger Webhook to your Slack webhook URL

FAQ

There’s no hard limit on the number of actions. Each action runs sequentially after the previous one completes.
Automations only fire on new events. They don’t retroactively process existing records.
If an action fails (e.g., email delivery fails), the error is logged. Subsequent actions in the workflow may still execute depending on the failure type.
Yes. Email actions require a connected email account, and Telegram actions require a bot token. Heffl validates integration requirements when you save the automation.