Omnisend · Arazzo Workflow

Omnisend Create and Send Campaign

Version 1.0.0

Create a campaign, read it back to confirm, then queue it for sending.

1 workflow 1 source API 1 provider
View Spec View on GitHub Email MarketingMarketing AutomationE-CommerceSMS MarketingCustomer EngagementSegmentationCampaignsFormsPopupsWeb PushAutomation WorkflowsAnalyticsMCPAgent ReadyTransactional MessagingArazzoWorkflows

Provider

omnisend

Workflows

create-and-send-campaign
Create a campaign, verify it, and queue it for sending.
Writes a campaign, fetches it by id to confirm persistence, and then triggers the send.
3 steps inputs: apiKey, fromName, name, segmentId, subject outputs: campaignId, sendStatus
1
createCampaign
{$sourceDescriptions.campaignsApi.url}#/paths/~1campaigns/post
Create the campaign. Returns 201 Created with the campaign id.
2
getCampaign
{$sourceDescriptions.campaignsApi.url}#/paths/~1campaigns~1{id}/get
Read the campaign back by id to confirm it persisted before sending.
3
sendCampaign
{$sourceDescriptions.campaignsApi.url}#/paths/~1campaigns~1{id}~1send/post
Queue the campaign for sending. Returns 202 Accepted when the send is queued.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Omnisend Create and Send Campaign
  summary: Create a campaign, read it back to confirm, then queue it for sending.
  description: >-
    Launches an email campaign end to end. The workflow creates the campaign,
    reads it back by id to confirm it persisted, and then queues it for sending.
    Every step spells out its request inline, including the X-API-KEY header, so
    the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: campaignsApi
  url: ../openapi/omnisend-campaigns-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-and-send-campaign
  summary: Create a campaign, verify it, and queue it for sending.
  description: >-
    Writes a campaign, fetches it by id to confirm persistence, and then
    triggers the send.
  inputs:
    type: object
    required:
    - apiKey
    - name
    - subject
    properties:
      apiKey:
        type: string
        description: The Omnisend API key sent in the X-API-KEY header.
      name:
        type: string
        description: The internal campaign name.
      subject:
        type: string
        description: The email subject line.
      fromName:
        type: string
        description: The sender display name.
      segmentId:
        type: string
        description: The id of the segment to target.
  steps:
  - stepId: createCampaign
    description: >-
      Create the campaign. Returns 201 Created with the campaign id.
    operationPath: '{$sourceDescriptions.campaignsApi.url}#/paths/~1campaigns/post'
    parameters:
    - name: X-API-KEY
      in: header
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        subject: $inputs.subject
        fromName: $inputs.fromName
        segmentID: $inputs.segmentId
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      campaignId: $response.body#/id
  - stepId: getCampaign
    description: >-
      Read the campaign back by id to confirm it persisted before sending.
    operationPath: '{$sourceDescriptions.campaignsApi.url}#/paths/~1campaigns~1{id}/get'
    parameters:
    - name: X-API-KEY
      in: header
      value: $inputs.apiKey
    - name: id
      in: path
      value: $steps.createCampaign.outputs.campaignId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      campaignId: $response.body#/id
      status: $response.body#/status
  - stepId: sendCampaign
    description: >-
      Queue the campaign for sending. Returns 202 Accepted when the send is
      queued.
    operationPath: '{$sourceDescriptions.campaignsApi.url}#/paths/~1campaigns~1{id}~1send/post'
    parameters:
    - name: X-API-KEY
      in: header
      value: $inputs.apiKey
    - name: id
      in: path
      value: $steps.getCampaign.outputs.campaignId
    successCriteria:
    - condition: $statusCode == 202
    outputs:
      sendStatus: $statusCode
  outputs:
    campaignId: $steps.getCampaign.outputs.campaignId
    sendStatus: $steps.sendCampaign.outputs.sendStatus
x-provenance:
  reviewed: '2026-08-13'
  status: stale
  note: >-
    Authored against the pre-2026-03-15 Omnisend contract (base https://api.omnisend.com/v5,
    X-API-KEY header) using a documentation-derived scaffold spec, which the 2026-08-13 enrichment
    pass superseded with 15 OpenAPI documents harvested from Omnisend's own docs host. The current
    contract uses base https://api.omnisend.com/api, a required Omnisend-Version: 2026-03-15 header
    and Authorization: Omnisend-API-Key {key}. This workflow needs regenerating against
    openapi/omnisend-*-openapi.yml before it will execute.

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/omnisend-create-and-send-campaign-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.