Project automation didn't run or failed
Updated
Applies to: Super Admins, Creators and Integrators
When a project automation doesn't do what you expected, its logs usually show why. This article helps you check whether the automation ran at all, and points you to the fix for each cause.
Project automations live on projects and playbooks. They react to events in a project that already exists, such as Task completed, Module completed, Project created or Project updated. They then take an action, such as Update Salesforce field, Call webhook or Change task data. The Add a module action is available when it's turned on for your organization. If a project was never created, that's a workflow problem instead: see Workflow didn't create a project.
Why it happens
There are two different situations, and each has its own fix:
The automation didn't run. There's no entry for it in the project's logs. The event didn't happen, didn't match the trigger, or was skipped.
The automation ran and failed. There's an entry in the logs, and it shows an error.
Fix it
Start by checking the project's logs.
Open the project.
Select the Automations tab.
At the top of the panel, select Logs.
Find the automation's entry. Use Search logs... to narrow the list.
To see what was sent, select View in the entry's Payload column.
To see what went wrong, select View in the entry's Error column.
Each entry shows the Timestamp, Project, Module, Task, User, Action and Success. View appears only when an entry has a payload or an error, and opens View project automation log.
Contributors and Collaborators don't see the project's Automations tab.
If there's no entry in the logs
Check these causes:
The event doesn't match the trigger. For example, the module was completed but the trigger is Task completed, or the project was updated but the trigger is Project created. See Project automation didn't run: the event doesn't match the trigger.
The answer or value didn't match the automation's conditions. See Project automation didn't run: the answer or value didn't match.
A data field's value didn't change. A data field trigger runs only when the value changes. Saving the same value again doesn't set it off.
The event happened before the automation existed. An automation reacts only to events after you create or save it. See Project automation didn't run for an earlier event.
Another automation caused the event. An automation set off by another automation's change is suppressed without a log entry. See Project automation didn't run after another automation's change.
The action isn't supported for the trigger. These are skipped without a log entry: Add a module on Any task completed or Task overdue, and Call webhook, Send all task answers or Upload Files to Salesforce Object on Task overdue.
If the trigger is Task overdue
The Task overdue trigger is available when it's turned on for your organization. If you don't see it, contact your OnRamp team.
It isn't tied to an event. It runs on a schedule once a task has been overdue for the number of days in Days overdue. It also runs for open tasks that were already overdue that long before you saved it. It doesn't run when:
The task isn't yet overdue by the Days overdue setting.
The task is outside the automation's Which tasks choice, such as a specific task or a module.
The task is internal and Include internal tasks is off.
The task is completed.
The project is unpublished, archived, completed or on hold.
If the entry shows an error
To read the error text your CRM or OnRamp returned, select View in the entry's Error column. The text appears under Error: in View project automation log. Match it to the right article:
A CRM invalid-field error, such as
INVALID_FIELD. The mapped CRM field was renamed or deleted, or doesn't exist on the object. See CRM update failed: mapped fields not found.A CRM access error, such as
INSUFFICIENT_ACCESSor a field security message. The integration user can't edit the field, and its permissions are changed in your CRM. See CRM update failed: integration user can't edit the field.No object entity found for uuid. When it ends inNone, no CRM record was set on the action. Otherwise, the CRM record it points to wasn't found or is archived. See CRM update failed: no CRM record selected.Add a module or Change task data errors. See Add a module automation failed or Change task data automation failed.
If a webhook didn't arrive
The logs record Call webhook as successful once the webhook is queued. Delivery problems, such as an unreachable endpoint or rejected authentication, don't show there. Check whether the receiving system got the request, or contact support. See Webhook automation succeeded, but nothing arrived or Webhook automation failed: webhook off or deleted.
After you fix the cause
Set off the event again in the project.
On the Logs screen, select Refresh to see the new entry.
When the entry succeeds, select Reset automation errors. This sets the project's error count, shown in a red badge, back to zero.
To find other projects with failing automations, show the Automation errors column on the Projects page. It's hidden by default, and you can sort by it.
Still stuck?
Contact support with the project name, the automation's trigger and action, the entry's Timestamp, and the text from its Error and Payload views.