# Update CRM task

Source: https://docs.vendasta.com/automations/my-automations/update-crm-task/

`Update CRM task` updates one or more fields on the CRM sales task in scope. It works for tasks on both contacts and companies, so one step covers either. Use it to change a task's priority, status, due date, owner, or any other task field as your automation runs.

## How it works

1.  The automation reaches the step with a CRM sales task in scope
2.  The step updates the fields you configured with the values you provide
3.  The task is updated in the CRM
4.  The automation continues to the next step

## Set up the action

1.  Open the automation builder and add a new step
2.  Select `Update CRM task`
3.  Choose a task field to update, how to update it (for example, `Set value`), and the new value
4.  Add more fields as needed

For example, choose `Task priority`, then `Set value`, then `High` to raise a task's priority.

> **Tip:** Use **Add dynamic content** to fill field values from previous steps. Dynamic values are resolved when the automation runs.

## Outputs

This action produces no outputs available to downstream steps.

## Tips

-   **Bring a task into scope first.** Start from a CRM sales task trigger, or add [Find CRM sales task for company](https://docs.vendasta.com/automations/my-automations/find-crm-task-company/) before this step.
-   **Branch on the search result.** When you use a Find step, add an `If/else` step so `Update CRM task` runs only when a task was found.

## Related resources

-   [Find CRM sales task for company](https://docs.vendasta.com/automations/my-automations/find-crm-task-company/): Search a company's sales tasks and bring the match into scope
-   [Create a CRM sales task for the contact](https://docs.vendasta.com/automations/my-automations/create-crm-task-contact/): Create a task on a contact record
-   [Create a CRM sales task for the company](https://docs.vendasta.com/automations/my-automations/create-crm-task-company/): Create a task on a company record
-   [Actions overview](https://docs.vendasta.com/automations/my-automations/actions-overview/): Browse all available actions
