Skip to content

Create workflows

Last updated: August 14, 2025

Available with any of the following subscriptions, except where noted:

Marketing Hub   Professional , Enterprise
Sales Hub   Professional , Enterprise
Service Hub   Professional , Enterprise
Operations Hub   Professional , Enterprise

Use workflows to automate your business processes. You can automatically enroll records with enrollment criteria, then take action on your records.

For example, you can enroll all contacts that have submitted a specific form, then send a marketing email and assign these contacts to a user. You can also take action on associated records, such as updating an enrolled contact’s associated company. It is recommended to use the community workflow library for ideas when setting up your workflow.

After creating workflows, learn how to organize your workflows

Create a new workflow

Create workflows from scratch or use workflow templates to guide you along. The number of workflows you can create depends on your account's subscriptions.

You can create workflows for the following object types: 
  • Contacts
  • Companies
  • Deals
  • Quotes (Sales Hub Professional or Enterprise)
  • Tickets (Service Hub Professional or Enterprise)
  • Custom objects (Enterprise only)
  • Conversations
  • Feedback submissions (Service Hub Professional or Enterprise)
  • Subscriptions
  • Payments
  • Invoices
  • Goals
  • Leads (Sales Hub Professional or Enterprise)
  • Users
  • Tasks
  • Calls

Create a workflow from scratch

When creating a workflow from scratch, you can select the enrollment triggers you want to use, then select the corresponding object type. You can select from manual enrollment, triggering your workflow based on a set frequency, or selecting from specific enrollment triggers.

To create a workflow from scratch:

  1. In your HubSpot account, navigate to Automation > Workflows
  2. In the upper right, click Create workflow > From scratch.
  3. In the workflow editor, continue setting up your enrollment triggers and object type. Learn more about creating workflows from scratch.

Create a new workflow using templates

Use a workflow template aligned with your goals to streamline your automation processes.

To create a workflow using a template:

  1. In your HubSpot account, navigate to Automation > Workflows
  2. In the upper right, click Create workflow > From template.
  3. From the templates library, search for a template that matches your workflow goals: 
    • To filter templates by function or objective, in the left sidebar, select a category
    • To search for a specific template, in the top right, enter a search keyword
  4. To review a template's details, click Preview. In the dialog box, you can check if the template is compatible with your HubSpot subscriptions. You can also review the following details:
    • Purpose: the purpose and goal of this workflow template. 
  5. Once you've selected your template, click Use template. The template will appear with placeholder actions. You can edit, add, and remove actions in the editor. 
     

 

Set enrollment triggers

Enrollment triggers are a set of criteria that automatically enroll records in a workflow. You can set enrollment triggers manually, or generate triggers using AI

If you don’t want to automatically enroll records into a workflow, you can choose to enroll records manually instead.

When setting up enrollment triggers, you can use the following enrollment trigger types: 
To set up your enrollment triggers:
  1. In the workflow editor, click the Trigger enrollment for [object] box.
  2. In the left panel, set up your enrollment triggers.
     

Set workflow re-enrollment and unenrollment settings 

By default, records will only enroll in a workflow the first time they meet the enrollment triggers. To enable re-enrollment:
  1. In the left panel, click the Settings tab.
  2. Click to toggle the Re-enroll switch on. Then, select the triggers that you want to use for re-enrollment. Learn more about adding re-enrollment triggers to workflows.
  3. Click to toggle your unenrollment criteria. Learn more about managing unenrollment

workflow-enrollment-settings

 

Add actions

You can use AI to generate actions for a workflow or manually select and add actions. For example, you can use a workflow to send a marketing email or assign your records. Learn more about the different workflow actions available in HubSpot.

After adding an action, you can clone or move it to streamline the workflow building process. If you'd like to leave a note on a workflow action for reference, learn how to add comments to workflow actions

Please note: the actions available to you depend on your subscription. locked Locked actions require an account upgrade to use. 

To add actions to a workflow:

  1. In the workflow editor, click the + plus icon.
  2. In the left panel, select an action.
    • For certain actions such as the Create record action, you can also click the + add icon next to the action to quick add that action as a placeholder action. Learn more about choosing your workflow actions.
    • For certain actions, such as the Create task action, you can also use the data panel to insert data variables from different object sources. Learn more about adding data variables to workflow actions.
  3. After setting up the details of the action, click Save.
    • Or, if you're adding the action as a placeholder, click Save without filling out the action details.
    • Placeholder actions must be filled out before you can turn on the workflow. Learn more about placeholder actions.

workflow-add-action

Review the workflow minimap

When building larger workflows, you can use the workflow minimap for a quicker view of your workflow architecture and faster navigation. To use the workflow minimap:
  1. In the upper left of the workflow editor, click Show minimap panel.

 

  1. With the minimap open, you can hover over workflow actions to view the action name, and click an area of the minimap to navigate there.
  2. If your workflow requires any changes before it can be published, the action will be highlighted in yellow. Click the link in the alert and review the changes that need to be made.
     

 

Undo or redo changes

When editing your workflow you can undo or redo changes made to the workflow in the previous 30 days. You cannot undo or redo certain changes such as, custom code actions.

To undo or redo an action:

  1. To undo an action, click the undo undo icon in the top left. Changes will be undone one at a time.
  2. To redo an action, click the redo redo icon in the top left. Changes will be redone one at a time.
     

redo-workflow-action 

Manage settings

To manage your workflow settings:

  1. In the top left, click Settings to manage the workflow's execution, notification, and metric settings. Learn more about managing your workflow settings.
  2. In the top left, click Edit > Edit enrollment trigger to manage the workflow's enrollment, unenrollment, and re-enrollment settings. 
     

setting WF

Turn on your workflow

To review and turn on your workflow:

  1. In the upper right corner, click Review and publish.
  2. In the right panel, review your workflow details:
    • See all contacts in lists: if you have a Marketing Hub Starter, Professional, or Enterprise account, in contact-based workflows you can view a static list of contacts that meet the enrollment criteria. The list will automatically be saved and can be accessed from your lists dashboard.
    • Do you want to enroll contacts that currently meet the enrollment criteria when the workflow turns on: Choose to enroll records that currently meet the enrollment triggers or only enroll records that meet the triggers in the future.
      • Yes, enroll existing [objects] which meet the trigger criteria as of now: enroll all existing records that meet the enrollment triggers.
      • No, only enroll [objects] which meet the trigger criteria after turning the workflow on: only enroll records that meet the enrollment triggers after the workflow is turned on. When this option is selected: 
        • If the [object] changes to meet the enrollment triggers for the first time after the workflow is turned on, the [object] will be enrolled.
        • If the [object] changes to meet the enrollment criteria again and re-enrollment is turned on, the [object] will be enrolled. Learn more about re-enrollment triggers.

Please note: the number of existing contacts displayed on the review page is an estimate. To view an exact number of contacts, create a static list of contacts that meet the criteria by clicking See all contacts in lists.

  1. At the bottom, click Next. You can review your workflow's Timing & Notifications, and Connections. Or, click Skip to turn on
  2. If you haven't entered a Name or Description for your workflow, it'll be automatically generated by AI. To update these details, click Edit under the respective sections. 
  3. At the bottom, click Turn on workflow
After you turn your workflow on, you can review the workflow history to monitor the records that are enrolled. If you've saved any placeholder actions, they must be completed before you can turn on the workflow.
 

review workflow turn on 

Necessary disclosure:

HubSpot will store workflow action logs data within the below time periods:

  1. 90 days: all workflow action log data will be stored, including high-level action log data such as object ID (which contact, company, deal, etc.), event type (enrollment, unenrollment, etc.), and action type.
  2. 6 months: workflow enrollment history will be stored. 
  3. 2 years+: historical data of enrollments will be retained in our system to enable workflow-based filters.
Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.