Skip to main content

POST /api/v1/public/campaigns//steps/

Adds a new step to a campaign. Cannot add steps to active campaigns. Auth: X-API-Key

Path Parameters

  • id (integer, required): Campaign ID

Request Body

Flow Management Fields

  • parent_step_id (integer, optional): ID of the step that comes before this one
  • parent_condition_id (integer, optional): ID of the condition that comes before this one
  • child_step_id (integer, optional): ID of the step that comes after this one
  • child_condition_id (integer, optional): ID of the condition that comes after this one
Note: You can only specify one parent (either parent_step_id OR parent_condition_id) and one child (either child_step_id OR child_condition_id).

Available Step Types

  • EMAIL: Send an email
  • LINKEDIN_MESSAGE: Send a LinkedIn message
  • LINKEDIN_INVITE: Send a LinkedIn connection request
  • INMAIL: Send a LinkedIn InMail
  • VISIT_LINKEDIN_PROFILE: Visit a LinkedIn profile
  • DELETE_LINKEDIN_INVITE: Delete a LinkedIn connection request
  • LIKE_LAST_LINKEDIN_POST: Like the prospect’s last LinkedIn post

Available Variables

You can use these variables in message templates and subject lines with double brackets {{}}:
  • {{first_name}} - Prospect’s first name
  • {{last_name}} - Prospect’s last name
  • {{job_title}} - Job title
  • {{company_name}} - Company name
  • {{location}} - Location

Response

Example

Building a Campaign Flow

Here’s an example of how to build a complete campaign flow:

1. Create the first step (LinkedIn invite)

2. Create a follow-up email step

3. Create a final LinkedIn message

This creates a flow: LinkedIn Invite → Email (24h delay) → LinkedIn Message (48h delay)