Back to Help

How to Trigger a Flow for New Contacts Only

To run a Flow for new contacts only, create a Flow and set the Workflow Trigger to Non-Keyword Based, then choose a channel. Add a Condition as the first step, and add a Counter that adds 1 to a dedicated variable (for example counter2). Set the condition to check that the same variable is not empty. If the variable is empty, the contact is new: continue the Flow on No matching conditions, put the Counter there, then add the rest of the Flow. If the variable is not empty, the contact has been through this Flow before: just stop there. Save, then turn on Publish when you are ready for the Flow to run.

You can set up a Flow so that only new contacts continue through it. Use a Non-Keyword Based trigger, which starts the Flow when a contact sends an incoming message on the channel you choose that does not match an existing keyword. Then add a Condition at the start that checks a Counter variable with is not empty.

If the variable is empty, the contact is new: continue the Flow, add 1 to the Counter to mark them, then add the rest of the Flow, such as a welcome message. If the variable is not empty, the contact has been through this Flow before: just stop there.

Use this when you want a first-time greeting or onboarding path, and you do not want the same contact to go through those steps again the next time they message you.

Create the Flow and set a Non-Keyword Based trigger

  1. Open Flow in the left sidebar, then click Create Flow.

The Flows list in Strive. Create Flow at the top is outlined in orange. Flow titles and triggers are blurred. Folder names Client Demo, Demo and Folder are visible. The account name in the top right is blurred, and the initials JC are visible.
Click Create Flow.
  1. Click the Workflow Trigger node. In the panel, set Flowbuilder Type to Non-Keyword Based, and select the channel you want this Flow to run on.

The Workflow Trigger panel. Flowbuilder Type is set to Non-Keyword Based and is outlined in orange. Available Channel is empty. The trigger node on the canvas says Triggered by any incoming message via selected channel. The account name is blurred, and the initials JC are visible.
Set Flowbuilder Type to Non-Keyword Based, and select the channel you want this Flow to run on.

Add a Condition as the first step

  1. Click Add Step #1, then choose Condition.

The Add Step #1 panel, filtered to condition. Condition under Other Action is outlined in orange. Condition (Group) is listed below it.
Click Add Step #1, then choose Condition.
  1. In the Condition panel, click Add Condition, then click Save Action. This adds a condition row you can connect from. You will set the variable and the rule after the Counter exists, so the same variable appears in the list.

The Condition #1 panel. Add Condition is outlined in orange.
Click Add Condition, then click Save Action.

Add a Counter and add 1

  1. On the Condition node, drag from the connector on a condition row to the right to add a new step, then choose Counter.

A line is connected from the Condition #1 node to a new step. The Add Step #2 panel is open, and Counter under Other Action is outlined in orange.
Drag from a connector on the Condition node to add a new step, then choose Counter.
  1. In the Counter panel, click the tag icon to add a variable, then choose the variable you will use for this Flow. In this example the variable is counter2. Use the same name for the Counter input and for Variable Name, where the result is stored. Choose a variable that is only used for this Flow, so other Flows do not change it.

The Counter #1 panel with the Variable List open. The variable counter2 is outlined in orange. Other variable and merge field names are visible in the list, including follow_up fields, First Name, Last Name, 1 hour reminder and Additional Email. No values are shown.
Select the variable you will use for this Flow, for example counter2.
  1. Set Operation to Add (+), enter 1 as the value, then click Save Action. The Counter step will add 1 to the variable when a contact reaches it.

The Counter #1 panel. Input is {{counter2}}, Operation is Add (+), Value is 1, and Variable Name is counter2. Save Action is outlined in orange.
Set Operation to Add (+), enter 1, then click Save Action.

Set the condition to check that the counter is not empty

  1. Click the Condition #1 node again to open its panel.

The canvas shows Workflow Trigger, Condition #1 still showing If contains blank, and Counter #1 set to counter2 = {{counter2}} + 1, connected from the first condition row. The Condition #1 node is outlined in orange.
Click the Condition #1 node to open its panel again.
  1. Click Add variable and select the same Counter variable (for example counter2). Change the operator from the default Contains to is not empty, then click Save Action.

The Condition #1 panel. The variable is set to {{counter2}} and the operator is set to is not empty, which is outlined in orange.
Select the same Counter variable, set the operator to is not empty, then click Save Action.

Choose the path for new contacts, then save and publish

The Condition node now has two paths:

  • If {{counter2}} is Not Empty — the variable already has a value, so the contact has been through this Flow before. Just stop there. Do not add further steps on this path.

  • No matching conditions — the variable is empty, so the contact is new. Continue the Flow on this path: put the Counter (add 1) here, then add the messages or other steps you want new contacts to receive.

Connect the Counter and the rest of the Flow to No matching conditions. Leave If {{counter2}} is Not Empty with no further steps.

The Condition #1 node, showing two paths: If {{counter2}} is Not Empty, and No matching conditions.
The Condition node has two paths: If {{counter2}} is Not Empty, and No matching conditions.
  1. Add the rest of the Flow on the No matching conditions path, then click Save. When you are ready for the Flow to run, turn on Publish.

The Flow builder header. Save is at the top right, and the Draft / Publish toggle is outlined in orange. The account name is blurred, and the initials JC are visible.
Click Save, then turn on Publish when you are ready for the Flow to run.