The If Condition node creates branching logic in your workflow. It evaluates a condition and routes execution down a True or False path based on the result.


When to Use

Use If Condition whenever you need to filter, segment, or route your workflow based on data values. Common use cases include filtering leads by company size, checking sentiment results, verifying enrichment data, or excluding posts that contain irrelevant content.

Configuration

Each condition has three parts:

  1. Variable - Select a data field from a previous step in your workflow (e.g., post text, author URL, likes count)

  2. Operator - Choose how to evaluate the variable

  3. Value - The value to compare against (where applicable)

You can add multiple conditions to a single If Condition node using the Add Condition button. All conditions must be met for the True path to execute.

Available Operators

Operator

Description

Example

Equals

True when the variable exactly matches the value

Source equals "linkedin-posts"

Not Equals

True when the variable does not match the value

Monitoring Type not equals "twitter-profile"

Contains (text)

True when the variable includes the specified text

Post Text contains "AI"

Not Contains (text)

True when the variable does not include the specified text

Post Text not contains "hiring"

Is Empty (text/list)

True when the variable has no value or is an empty list

Author URL is empty

Is Not Empty (text/list)

True when the variable has a value or the list has items

Email is not empty

Available Variables

The variables available depend on the trigger and any preceding actions in your workflow. With a New Post Trigger, the following Post Data variables are available:

Variable

Type

Description

Source

Object

The source of the post

Monitoring Type

Object

The monitoring type of the saved search (e.g., linkedin-posts, linkedin-profile, twitter-posts)

Post Text

Content

The content/text of the social media post or episode

Date Posted

Time

When the post was published (ISO string)

Author URL

User

URL to the author's profile or podcast page

Comments Count

Number

Number of comments on the post

Likes Count

Number

Number of likes on the post

Post URL

Reference

Direct URL to the social media post or episode

Quoted Tweet

Object

Information about the tweet being quoted (Twitter only)

Quoted Tweet Text

Content

The text content of the quoted tweet

Episode ID

Identifier

The podcast episode ID (podcast sources only)

Variables from enrichment nodes (Person Enrichment, Email Enrichment, Company Enrichment) and agent nodes become available when those actions are placed before the If Condition in your workflow.

Branch Paths

Path

Description

True

Executed when the condition is met

False

Executed when the condition is not met

Each branch can contain additional actions, including more If Condition nodes for complex logic.

Common Conditions

Condition

Use Case

Post Text contains "AI"

Filter for posts about a specific topic

Post Text not contains "hiring"

Exclude job posting noise from results

Likes Count equals or enriched field check

Filter for high-engagement posts

Source equals "linkedin-posts"

Route based on platform

Author URL is not empty

Only process posts where profile data is available

Email is not empty (after Email Enrichment)

Only proceed if an email was found

Example: Filter and Qualify Leads

1. New Post Trigger picks up a post from your saved search

2. If Condition: Post Text not contains "hiring" (filters out job posts)

3. True path: Person Enrichment to get the author's details

4. If Condition: Company headcount check from enriched data

5. True path: Email Enrichment to find their email

6. False path: End (skip unqualified leads)

Chain multiple If Condition nodes to create complex qualification logic. Place the cheapest filters first to save credits on enrichment nodes.