Create a draft campaign from a simplified high-level sequence.
Create a draft campaign from the public steps format.
How to structure the request:
steps with the first action that should happen.condition when you want to branch on lead data.linkedin_connection when you want to branch on connection acceptance after sending a connection request.Before you send a request:
steps array that describes the campaign flow from first action to last action.condition and linkedin_connection steps to describe branch-specific work.waitForAcceptance.unit must be days and waitForAcceptance.value must be an integer greater than or equal to 1.GET /v1/tasks/owners first when your campaign includes task steps. If owners are returned, every task step must include ownerId.steps[0].onTrue[1].subject so nested input issues are easy to fix.Supported condition.type values:
has_linkedin_profile: onTrue runs when the lead has a LinkedIn profile.has_professional_email: onTrue runs when the lead has a professional email.is_already_connected: onTrue runs when the lead is already a LinkedIn connection.has_been_contacted: onTrue runs when the lead has already been contacted.Branch fields:
condition uses onTrue and onFalse.linkedin_connection uses onAccepted and onNotAccepted.[{ "type": "end" }] when a branch should stop explicitly.For examples and a full step-by-step guide, see /api-reference/campaigns-guide in the docs site..
Required scope:
CAMPAIGNS_WRITERate limit: 30 requests per minute
Campaign name.
1Ordered campaign steps. Use branch arrays like onTrue, onFalse, onAccepted, and onNotAccepted for branching.
1Optional campaign description.