Skip to content

Automations ​

Automations let oneCRM do routine work for you: when something happens to a record, it checks your rules and runs actions such as sending an email. For example, assign every new lead to the next sales rep in turn, or email a customer three days before a quote expires.

Open Automations in the main menu. Only super admins can see and manage automations.

Developers can add their own triggers and actions - see Module automations.

How an automation is built ​

Every automation reads like a sentence: when something happens, if the record matches, then do these steps.

PartWhat it means
SubjectThe record type the automation runs on, for example leads, tickets, or invoices
TriggerThe event that starts it. With several triggers, any of them starts it.
ConditionsOptional checks. Choose whether all or any must be true.
ActionsThe steps to run, from top to bottom

Text fields in actions support merge tags from the trigger record. Pick one with the merge tags button next to the field.

Create an automation ​

  1. Open Automations and click Create automation.
  2. Name it and choose the Subject.
  3. Click Add trigger and pick the event.
  4. Optionally click Add condition.
  5. Click Add action for each step.
  6. Save. The automation is Active right away.

Switch an automation to Inactive to pause it. The list shows each automation's Executions and Last triggered time.

WARNING

Editing an automation that is waiting Changing the triggers or steps of an automation resets it. Records still waiting on a Wait step are lost. oneCRM asks you to confirm first.

With the Automations AI feature on, Generate with AI fills the form from a description in plain words.

Templates ​

Click Browse templates, pick one, and click Use template. The form opens pre-filled for you to review and save. Templates come from your enabled modules, for example Round-robin assignment for leads or Unanswered priority bump for tickets.

New installations already include the reminder automations for documents, invoices, and tasks.

Triggers ​

The triggers and actions you see depend on the subject and your enabled modules.

On most subjects ​

TriggerWhen it runs
[Record] Created (for example Company Created)A new record is created
Date reachedA set time before or after a date on the record, such as 3 days before the due date
Field changedA chosen field changes: Any change, Value transitions, Value added, or Value removed. It can also wait and run only if the value is still the same after a time you set.

Subjects are companies, contacts, projects, expenses, leads, deals, tickets, tasks, invoices, credit notes, and documents.

Module triggers ​

ModuleTriggerWhen it runs
LeadsLead convertedA lead is converted
LeadsLead lostA lead is marked as lost
LeadsLead unqualifiedA lead is marked as unqualified
DealsDeal wonA deal is marked as won
DealsDeal lostA deal is marked as lost
DealsDeal reopenedA won or lost deal is reopened
TicketsTicket createdA new ticket is created, optionally matching phrases in the message
TicketsNew requester messageThe customer posts a message
TicketsNew agent messageA staff member posts a reply
TicketsNew internal messageAn internal message is posted
TicketsTicket unansweredA customer message has no staff reply within the time you set
TasksTask completedA task is marked as completed
InvoicesInvoice sentAn invoice is sent
InvoicesInvoice viewedThe customer opens the invoice's public link
InvoicesInvoice overdueAn unpaid invoice passes its due date
InvoicesInvoice payment recordedA payment is recorded
InvoicesInvoice payment refundedA payment is refunded
InvoicesInvoice payment deletedA payment is deleted
Credit NotesCredit note sentA credit note is sent
Credit NotesCredit note appliedA credit note is applied to an invoice
DocumentsDocument sentA document is sent
DocumentsDocument viewedThe customer opens the document's public link
DocumentsDocument acceptedThe customer accepts a document
DocumentsDocument declinedThe customer declines a document
DocumentsDocument convertedA document is converted to an invoice

Conditions ​

ConditionWhat it checks
Field matchesAny field on the record, against a value or another field
Day of week isToday is one of the selected days
Time of day isThe current hour is, or is not, within a range in the company timezone
Time since dateA date field on the record is at least a given time ago

Actions ​

ActionWhat it does
Send emailSends a custom mail template or a message you write
Update fieldsChanges fields on the record, including adding or removing tags
Create recordCreates a new record, such as a task, with values copied from the trigger record
Add noteAdds a staff note to the record
Add activityLogs a message in the record's activity log (companies, contacts, leads, and deals)
Notify usersSends an in-app notification to the record's users, the automation creator, or specific users
HTTP requestSends a GET or POST request to a URL you enter
Add tags with AILets AI add tags based on the criteria you write for each tag (leads and tickets)
Wait, Wait until date, Wait until weekday, Wait until business hoursPauses before the next step
Confirm conditionChecks a condition mid-way and stops if it fails
If / then / elseRuns one list of steps when a condition passes and an optional other list when it fails, then continues
On related recordRuns steps on a linked record, such as the company of a contact

Modules add their own actions:

ModuleActionWhat it does
LeadsAssign Round-RobinAssigns the lead to the next of the selected users
LeadsClassify with AIChecks for spam and estimates buying intent
TicketsAssign Round-RobinAssigns the ticket to the next member of its team
TicketsAdd ticket messageAdds a reply or internal message to the ticket
TicketsClassify with AIChecks for spam, auto-replies, and bounces, and rates sentiment and urgency
Invoices, Credit Notes, DocumentsSend billing documentEmails the document with its mail template
Customer StatementsSend statementEmails the customer statement to the billing recipients
InboxSend messageSends a message through a connected channel, so it shows in the inbox and on the record

Classify with AI stores its results in fields you can check with Field matches in a later step. It needs a classification provider; see Classification.

How automations run ​

Triggers and conditions are checked as soon as the record changes. Steps that send email, call a URL, or use AI run through the queue.

Anything time-based needs the cron job: Date reached, Invoice overdue, Ticket unanswered, delayed Field changed triggers, and resuming after a wait step.

NOTE

Automatic disabling If a step fails, is misconfigured, or its module was disabled, oneCRM turns the automation off and emails the person who created it. Open the automation to see Recent execution issues, fix the problem, then set it back to Active.

Troubleshooting ​

ProblemWhat to do
The automation did not runCheck that it is Active, look for Recent execution issues, and compare the trigger and conditions with the record. A Field changed trigger does not run when a record is created.
Emails, HTTP requests, or AI steps never happenCheck the queue: the cron job, or your queue worker, must be running.
Steps after a wait never happenMake sure the cron job runs every minute.
A trigger or action is missingChoose the Subject first. Also check that its module is enabled and, for AI actions, that AI is set up.

Giải pháp CRM Tinh gọn Tự lưu trữ - Sở hữu toàn quyền, không phụ phí định kỳ.