Browse the docs

Workflow steps

Every step you can add to a workflow, grouped as they are in the designer's step list. Each one says what it does, when to use it (and when not to), what it needs, what it hands to the steps after it and what it changes outside the workflow. The same card appears in the designer when you pick or select a step. For how to build a workflow, see Workflows.

No step writes to a contact directly. To reach a lead, a workflow starts a playbook conversation, and the conversation follows your rules on consent, contact hours and opting out.

Talk to people

Ask an agent

Asks one of your role surfaces a question and keeps the written answer for the next steps.

Use it when:

  • You want a written answer from your knowledge, like a briefing before a meeting.
  • A later step should send or save that answer, such as an email to your team.

Don't use it for:

  • Talking to a contact. Use Start a playbook conversation instead.
  • You only need a value the event already has. Insert it into the later step.
  • Work that takes time or reaches out to people. Use Run a task on a device.

It needs: The role surface to ask and the question. The question can include details from the event.

It gives the next steps: The answer, the whole exchange, and whether it answered or declined.

It changes: Nothing outside this workflow.

Example: Before a booked demo, ask the Sales engineer surface what the contact is likely to ask, then email the answer to the demo's owner.

Settings:

  • Role surface: Which of your role surfaces answers. Its persona, knowledge and rules decide how it replies.
  • Question: What to ask, in plain words. You can insert details from the event or from earlier steps, such as the lead's company.
  • Most turns (advanced): Kept for longer exchanges. For now the step asks one question and records one answer, whatever this says.
  • Knowledge scope (advanced): Answer only from this part of your knowledge. Leave empty to use the role surface's own setting.
  • Product release (advanced): Answer as of a particular release of your product knowledge. Leave empty for the current one.

Run a task on a device

Gives one of your agents a goal and waits until the task is done, fails or is stopped.

Use it when:

  • An agent should work on something that takes time, like reaching a few named contacts.
  • The work needs one of your own devices, such as a browser on your machine.
  • The next steps should only run once that work is finished.

Don't use it for:

  • Starting a playbook's outreach to a lead. Use Start a playbook conversation.
  • You need a quick written answer. Use Ask an agent.
  • Telling your team something. Use Send a notification.

It needs: The goal in plain words. Optionally the contacts and channels it may use, and which agent.

It gives the next steps: The task and how it ended. The workflow waits here until it finishes.

It changes: One of your agents works on the task and may message the contacts you list, within your contact rules.

Example: Ask an agent to find out by email whether Jane at Acme Ltd wants a demo next week.

Settings:

  • Goal: What the agent should get done, in plain words. You can insert details from the event, such as the lead's company.
  • Agent: Which of your agents does the task. Leave empty for your default agent.
  • Channels: How the agent may reach the contacts: email, WhatsApp or phone.
  • Contacts: Who the agent may contact for this task, each with a name and an email address or number. Leave empty if it shouldn't contact anyone.
  • Device (advanced): Run it on this device only. Leave empty to use any device that can.
  • Language (advanced): The language the agent works in.
  • Give up after (advanced): How long to wait for the task to finish. A week unless you change it. If it hasn't finished by then, the workflow stops.
  • Extra skills (advanced): Anything else the device must be able to do, such as use a browser. Only devices that can are given the task.
  • Limits (advanced): Caps for this task, such as the most messages or calls, and the hours the agent may work. Your workspace's own limits still apply.
  • When to hand over (advanced): Situations where the agent stops and hands over to a person, such as a pricing question.

Start a playbook conversation

Starts a playbook's conversation with a lead: one of your agents writes to them and follows up.

Use it when:

  • A new lead should hear from one of your agents, and no playbook picks them up.
  • You want to choose the playbook yourself, for example by the lead's company or interest.

Don't use it for:

  • Telling your own team about a lead. Use Send a notification instead.
  • Leads a playbook already picks up. The playbook starts their conversation itself.
  • A lead who has already had a conversation. Each lead gets one.

It needs: The playbook to run and the lead to talk to.

It gives the next steps: The conversation, the channel it uses and when the first message goes, or why it couldn't start.

It changes: One of your agents starts writing to the lead, within their consent and your contact hours. If it can't start, the lead is marked failed with the reason.

Example: When a lead arrives from your events list, start the Event follow-up playbook with them.

Settings:

  • Playbook: The playbook to run. It decides which agent writes to the lead, on which channels, and when it follows up and stops.
  • Lead: Who to talk to. Normally the lead that started this workflow, so pick a trigger that comes with a lead.

Tell the team

Send a notification

Emails people on your team, with your own message or the ready-made new-lead email.

Use it when:

  • Someone should look at a lead, a deal or a conversation now.
  • You want to hear when something important happens, or when something fails.
  • An earlier step's result, like an agent's answer, should reach a person.

Don't use it for:

  • Writing to a contact. Use Start a playbook conversation instead.
  • Keeping a record of what happened. Use Update the CRM, so it stays with the deal.
  • Posting to Slack or a webhook. Those messages are recorded but not sent yet.

It needs: Who to tell, a subject and the message. Or the ready-made email and its lead.

It gives the next steps: Whether it was sent and how many people it went to, or why nothing was sent.

It changes: Emails people on your team. If email sending isn't available, nothing is sent and the run says why.

Example: When Acme Ltd reaches Qualified, email your sales lead: “Acme Ltd is qualified and ready for a call.”

Settings:

  • Recipients: Who gets it: your admins, or email addresses separated by commas. This is for your own team; to write to a contact, use a playbook conversation.
  • Subject: The email's subject line. Leave it empty for a standard one.
  • Message: What the email says. You can insert details from the event or from earlier steps, such as the lead's name and company.
  • Channel (advanced): How to send your own message. Only email is delivered today. Slack and webhook messages are recorded on the run but not sent.
  • Ready-made email (advanced): Send a ready-made email instead of writing your own. The new-lead email says who the lead is, where they came from and what they asked about, with a link to the lead.
  • Send the ready-made email to (advanced): Your admins, or email addresses separated by commas.
  • Lead (advanced): The lead the email is about. Normally the lead that started this workflow.

CRM and tools

Call a connected tool

Uses one approved tool from an app you've connected, and keeps its reply for the next steps.

Use it when:

  • A connected app can look something up, like open support tickets for an account.
  • A connected app should record something that isn't in your CRM.

Don't use it for:

  • Writing to a CRM you've also connected directly. Use Update the CRM instead.
  • The tool hasn't been approved, or has changed since you approved it.
  • The system has no connected app. Use Call a web service instead.

It needs: The connected app, the tool and its inputs.

It gives the next steps: The tool's reply, as text and as structured data when it gives some.

It changes: Whatever the tool does in the connected app. If a call may have run before failing, it isn't repeated unless the tool says that's safe, so check the app.

Example: When a lead arrives, look up open support tickets for their company.

Settings:

  • Connected app: The connected app whose tool to use.
  • Tool: The tool to use. Only tools you have approved can be used, and a tool that has changed since needs approving again.
  • Inputs: What to give the tool, by the names it asks for. You can insert details from the event or from earlier steps.
  • Longest text (advanced): Text inputs and the tool's reply are cut to this many characters.

Call a web service

Calls a web address, such as another system's API, and keeps the reply for the next steps.

Use it when:

  • A system you use has an API but isn't one of your connected apps.
  • You need a value from another system, like an order or account number.
  • Another system should hear about something, like a newly won customer.

Don't use it for:

  • Writing to your connected CRM. Use Update the CRM instead.
  • The system is a connected app. Use Call a connected tool instead.
  • Telling a person. Use Send a notification instead.

It needs: The address and method, and how to sign in if the service needs it.

It gives the next steps: The reply code, the reply, and the one value you asked it to keep.

It changes: Whatever the service does with the call. A failed call is retried, so the service may see it more than once.

Example: Send a new lead's company to your billing system and keep the account number it replies with.

Settings:

  • Address: The web address to call. When signing in with your CRM, a path on your CRM is enough.
  • Method: GET reads; POST, PUT and PATCH send data; DELETE removes.
  • Data to send: What to send. Named values are sent as JSON; text is sent as it is. You can insert details from the event or from earlier steps.
  • Sign-in (advanced): How to sign in to the service: a bearer token, an API key, a user name and password, or your connected CRM. Keys typed here are saved with the workflow, so use one made only for this.
  • Headers (advanced): Extra request headers, if the service needs them.
  • Expected reply code (advanced): The reply code that means it worked: usually 200, or 201 when something is created. Any other reply counts as a failure and is retried.
  • Value to keep (advanced): Where to find one value in the reply, such as data.id, so later steps can use it.

Update the CRM

Writes to your connected CRM: logs an activity, adds a note or task, or creates or updates a record.

Use it when:

  • Your CRM should show what happened, like a booked meeting or a conversation outcome.
  • Action items from a conversation should become CRM tasks.
  • A new deal should exist in your CRM as well as in your pipeline here.

Don't use it for:

  • You have no CRM connected. Connect one first.
  • Telling a person. Use Send a notification instead.
  • Your CRM is Pipedrive, or HubSpot for anything but contacts. Not available yet.

It needs: A connected CRM, what to do, and the fields to set.

It gives the next steps: The CRM ids of anything it created, and how each change went.

It changes: Creates or updates records in your CRM. If someone changed the same record in your CRM, your CRM's version wins and you're told.

Example: When a meeting is booked, log a completed activity in Salesforce with the meeting time.

Settings:

  • What to do: The change to make: log a completed activity, add a note, add an open task, update an opportunity or a contact, create any kind of record, or add one task for each item in a list.
  • Record: The CRM record the change is about. An activity, task or note is attached to it; an update changes it. To create a record, give only its type.
  • Fields: The fields to set, by their names in your CRM, and their values. You can insert details from the event or from earlier steps.
  • List of tasks (advanced): Only for one task per item: where the list is, such as the action items an earlier step produced.
  • CRM (advanced): Which connected CRM to write to. Salesforce unless you pick another. With HubSpot only contact changes work so far.

Knowledge

Add the outcome to knowledge

Saves text from this workflow, like a transcript or a summary, into your knowledge.

Use it when:

  • What was learned in a call or conversation should help future answers.
  • An earlier step produced a summary worth keeping.

Don't use it for:

  • The text holds anything an agent shouldn't repeat, like private notes or prices.
  • Recording a fact about one deal. Use Update the CRM instead.
  • Your team should read it now. Use Send a notification instead.

It needs: The text and the knowledge scope it goes into.

It gives the next steps: The new source and how many searchable pieces it was split into.

It changes: Adds a source to your knowledge. Your agents can answer from it straight away.

Example: After a discovery call, add its transcript to the Customer calls scope.

Settings:

  • Text to add: The text to keep: usually an answer, a transcript or a summary from an earlier step, or a summary that came with the event.
  • Knowledge scope: The part of your knowledge it goes into. If no scope has this name, it's added without one.
  • Title: The source's name in your knowledge. Leave empty to use the start of the text.
  • Kind of source (advanced): How it's labelled in your knowledge, such as transcript or notes.
  • Language (advanced): The language the text is written in, as a two-letter code such as en or de.
  • Extra details (advanced): Anything else to store with the source, as names and values.

Logic

Choose a path

Looks at one value, like the reason for a hand-over, and takes the path you set for it, or a path for everything else.

Use it when:

  • Hand-overs should reach different people depending on their reason.
  • Each deal stage needs its own next step.

Don't use it for:

  • There are only two outcomes. A yes or no decision is simpler.
  • The same thing should happen whatever the value.

It needs: The value to look at, and the values that lead to each path.

It gives the next steps: Which path the workflow took.

It changes: Nothing outside this workflow.

Example: Pricing questions go to sales, legal questions to whoever handles contracts, and everything else to the team.

Settings:

  • Choose by: The value that decides the path: a detail from the event or a result of an earlier step.
  • Paths: One path per answer you care about, each with the values that lead to it. Anything else takes the path for everything else.

Decide yes or no

Checks something about the event or an earlier step, then takes the yes path or the no path.

Use it when:

  • Won and lost deals should go to different people.
  • Only some leads need a person's attention, like those from larger companies.

Don't use it for:

  • The workflow should only start for some events. Add conditions to the trigger.
  • There are more than two outcomes. Use a choice between several paths.

It needs: What to check. Everything that doesn't match takes the no path.

It gives the next steps: Whether the check was true, and the path the workflow took.

It changes: Nothing outside this workflow.

Example: If the deal was won, tell onboarding; otherwise ask your sales lead for a loss review.

Settings:

  • Check: What has to be true to take the yes path. Compare details from the event or results of earlier steps; everything else takes the no path.

Reshape data

Picks or changes one value, like a field inside a reply, and saves it for later steps.

Use it when:

  • A later step needs one field out of a bigger reply, like an id from a web service.
  • A value needs a small change, such as capital letters or a count.

Don't use it for:

  • You can use the value as it is. Insert it straight into the later step.
  • You need sums, dates or text cut up. That isn't available here.

It needs: The value, the change and a name for the result.

It gives the next steps: The changed value, under the name you chose.

It changes: Nothing outside this workflow.

Example: Pick the account number out of your billing system's reply, so the next step can put it in an email.

Settings:

  • Value: The value to work from: a detail from the event, or a result from an earlier step.
  • Change: How to change it. $ is the value itself and $.name picks its name field. upper($), lower($), length($), string($), number($), not($) and keys($) change it. Anything else copies the value unchanged.
  • Save as: A short name for the result, in lowercase with underscores, so later steps can use it.

Stop here

Stops the workflow on this path, either as done or as failed with your reason.

Use it when:

  • One answer of a decision means there's nothing more to do.
  • Some cases should stand out as failed runs, like a duplicate lead.

Don't use it for:

  • The path simply ends. A path with no next step finishes as done anyway.

It needs: Whether the workflow finishes as done or failed, and a reason if failed.

It gives the next steps: Nothing for later steps; the workflow stops here.

It changes: Nothing outside this workflow.

Example: If the lead is already in your pipeline, stop here as failed: duplicate lead.

Settings:

  • Finish as: Done, or failed. A failed finish shows up with the failed runs, with your reason.
  • Reason: Why the workflow stops here. Needed when it finishes as failed.

Wait a while

Pauses the workflow for a set time, or until a date and time, then carries on.

Use it when:

  • A reminder should go out a day before a meeting.
  • The team should hear about something only if it's still true a few hours later.

Don't use it for:

  • You're waiting for something to happen. Wait for it instead, with a time limit.
  • Spacing out messages to a contact. Playbooks time their own follow-ups.

It needs: How long to wait, or the date and time to carry on at. At most 30 days.

It gives the next steps: When the workflow carried on.

It changes: Nothing outside this workflow.

Example: Wait two days, then check whether the deal has moved.

Settings:

  • Wait for: How long to pause before the next step. At most 30 days.
  • Wait until (advanced): A date and time to carry on at instead, such as a detail from the event. A time already past carries on straight away.

Wait for something

Pauses the workflow until something happens, like the lead booking a meeting, or until it has waited long enough.

Use it when:

  • The next step only makes sense after something else happens.
  • You want to act if a lead hasn't booked a meeting within a few days.

Don't use it for:

  • What you're waiting for could start its own workflow. Pick it as the trigger.
  • Spacing out messages to a contact. Playbooks time their own follow-ups.
  • Nothing is likely to happen. The workflow just sits until time runs out.

It needs: What to wait for, which one (such as the same lead), and how long before giving up.

It gives the next steps: The event that ended the wait. If time runs out, the workflow stops, unless you add a path for that.

It changes: Nothing outside this workflow.

Example: Wait up to three days for the lead to book a meeting.

Settings:

  • Wait for: What has to happen before the workflow carries on.
  • Only when (conditions): Carry on only for an event that meets these conditions. The left side is a field of the event you're waiting for; the right side can use values from this workflow, such as the lead that started it.
  • Only when: Carry on only for an event with these values, such as the same lead as the one that started this workflow. Leave it empty and the first such event anywhere in your workspace ends the wait.
  • Stop waiting after: How long to wait before giving up. A day unless you change it.