# Koast

> Follow your Koast ad launches' spend and delivery, and manage their automations, workflows and pipeline.

App · 22 actions. Web page: https://docs.lodol.com/docs/integrations/koast

## Actions

### Create launch

Start an empty draft launch for a brand. Add campaigns to it in Koast.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Title (`title`, text): The launch's title. Leave empty for Untitled Batch.
- Description (`description`, text): A description of the launch.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "accountId": "act_000000000000001",
    "brandId": 1,
    "brandName": "Vela Supplements",
    "id": "cmv0dbqmv0001vct12clu58vk",
    "title": "Lodol QA"
  }
}
```

### Delete launch

Delete a launch or pipeline card from Koast. Anything already published keeps running on the ad platform.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Launch (`launch`, text, required): The launch (batch).

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "deleted": "cmv0dbqmv0001vct12clu58vk"
  }
}
```

### Get activity log

See who on the team changed which campaign, ad set or ad, and when.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Ad account (`account`, text): The brand's ad account.
- Days (`days`, number): How many days back to look, up to 90. Koast's default is 7. From 1 to 90.
- Person ID (`user`, number): Only changes by this person.
- Campaign, ad set or ad ID (`entity`, text): Only changes to this campaign, ad set or ad.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.
- Page size (`limit`, number): How many a page holds, up to 100. Koast's default is 50. From 1 to 100.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "activities": [
      {
        "action": "paused",
        "entityId": "120200000000000001",
        "entityName": "Vela Daily Greens | CBO",
        "entityType": "campaign",
        "userId": 7,
        "userName": "API key: Reporting job",
        "when": "2026-11-20T09:12:00.000Z"
      }
    ],
    "nextCursor": "eyJpZCI6Mn0",
    "summary": {
      "days": 7,
      "groupedActions": 1,
      "totalEvents": 1
    }
  }
}
```

### Get ad account overview

Total the spend and results of the Koast launches on an ad account for a period.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Ad account (`account`, text, required): The ad account, as the ad platform writes it (act_… on Meta).
- Period (`date_preset`, text): Which period to report on. Leave empty for today. The last-N-days periods end yesterday. One of: `today`, `yesterday`, `this_week_sun_today` (This week (from Sunday)), `last_7d` (Last 7 days), `last_14d` (Last 14 days), `last_28d` (Last 28 days), `last_30d` (Last 30 days), `last_90d` (Last 90 days), `this_month` (This month), `last_month` (Last month), `maximum` (All time).

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "asOf": "2026-11-20T09:15:00.000Z"
  }
}
```

### Get automation

Get one monitoring automation with its rules, actions, schedule and status.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Automation (`automation`, text, required): The monitoring automation.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {}
}
```

### Get campaign tree

Get a launch's campaigns, ad sets and ads, with their names, statuses and counts.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Launch (`launch`, text, required): The launch (batch).

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "counts": {
      "adBreakdown": {
        "draft": 2,
        "live": 0,
        "total": 2
      },
      "ads": 2,
      "adsetBreakdown": {
        "draft": 1,
        "live": 0,
        "total": 1
      },
      "adsets": 1,
      "campaignBreakdown": {
        "draft": 1,
        "live": 0,
        "total": 1
      },
      "campaigns": 1
    },
    "currencyCode": "USD",
    "importInProgress": false,
    "summary": "1 campaign, 1 ad set, 2 ads",
    "tree": {
      "campaigns": [
        {
          "adsets": [
            {}
          ],
          "id": "cmv0dbqmv0002vct1a",
          "isCBO": true,
          "isLive": false,
          "name": "Vela Daily Greens | CBO",
          "platformId": "120200000000000001",
          "status": "DRAFT"
        }
      ],
      "launchId": "cmv0dbqmv0001vct12clu58vk",
      "status": "DRAFT",
      "title": "Lodol QA"
    }
  }
}
```

### Get daily insights

Get a launch's spend, clicks, results and costs day by day.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Launch (`launch`, text, required): The launch (batch).
- Level (`level`, text): Sum across campaigns, ad sets or ads. Koast's default is campaigns. One of: `campaign` (Campaigns), `adset` (Ad sets), `ad` (Ads).
- Days (`days`, number): How many days back, up to 90. Koast's default is 30. From 1 to 90.
- From (`start_date`, date): The first day. Give both days to report on exactly those dates.
- To (`end_date`, date): The last day.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "asOf": "2026-11-20T09:15:00.000Z",
    "campaignLaunchId": "cmv0dbqmv0001vct12clu58vk",
    "currencyCode": "USD",
    "dataAvailability": "AVAILABLE",
    "dateRange": {
      "end": "2026-11-19",
      "start": "2026-10-21"
    },
    "days": [
      {
        "clicks": 140,
        "cpa": 19.37,
        "cpm": 7.95,
        "ctr": 1.91,
        "date": "2026-11-19",
        "entities": 1,
        "frequency": 1.19,
        "hold_rate": 0.12,
        "hook_rate": 0.29,
        "impressions": 7311,
        "reach": 6120,
        "resultActionType": "omni_purchase",
        "results": 3,
        "spend": 58.1
      }
    ],
    "level": "campaign",
    "timezone": "America/New_York"
  }
}
```

### Get delivery status

See which of a launch's ads are disapproved, in review or limited, and the status of each live campaign and ad set.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Launch (`launch`, text, required): The launch (batch).

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "adsChecked": 4,
    "adsetStatuses": [
      {
        "adsetId": "cmv0adset1",
        "effectiveStatus": "ACTIVE",
        "metaAdsetId": "120200000000000005",
        "name": "Broad US"
      }
    ],
    "campaignStatuses": [
      {
        "campaignId": "cmv0camp1",
        "effectiveStatus": "ACTIVE",
        "metaCampaignId": "120200000000000001",
        "name": "Vela Daily Greens | CBO"
      }
    ],
    "coverage": "CHECKED",
    "issues": [
      {
        "adId": "120200000000000009",
        "effectiveStatus": "DISAPPROVED",
        "name": "Greens hero 1",
        "reasons": [
          "Landing page not working"
        ]
      }
    ]
  }
}
```

### Get launch metrics

Get a launch's spend, reach, clicks, results and return on ad spend for a period, by campaign, ad set or ad.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Launch (`launch`, text, required): The launch (batch).
- Level (`level`, text, required): Report on campaigns, ad sets or ads. One of: `campaign` (Campaigns), `adset` (Ad sets), `ad` (Ads).
- Period (`date_preset`, text): Which period to report on. Leave empty for today. The last-N-days periods end yesterday. One of: `today`, `yesterday`, `this_week_sun_today` (This week (from Sunday)), `last_7d` (Last 7 days), `last_14d` (Last 14 days), `last_28d` (Last 28 days), `last_30d` (Last 30 days), `last_90d` (Last 90 days), `this_month` (This month), `last_month` (Last month), `maximum` (All time).
- Only this item (`entity`, text): A campaign, ad set or ad ID to report on alone.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "ads": [
      {
        "clicks": 911,
        "costPerClick": 0.45,
        "costPerResult": 17.93,
        "cpm": 7.93,
        "ctr": 1.21,
        "displayStatus": "LIVE",
        "entityId": "120200000000000001",
        "frequency": 1.36,
        "hookRate": 0.31,
        "impressions": 52014,
        "name": "Vela Daily Greens | CBO",
        "purchaseRoas": 2.4,
        "reach": 38110,
        "results": 23,
        "spend": 412.37
      }
    ],
    "adsets": [
      {
        "clicks": 911,
        "costPerClick": 0.45,
        "costPerResult": 17.93,
        "cpm": 7.93,
        "ctr": 1.21,
        "displayStatus": "LIVE",
        "entityId": "120200000000000001",
        "frequency": 1.36,
        "hookRate": 0.31,
        "impressions": 52014,
        "name": "Vela Daily Greens | CBO",
        "purchaseRoas": 2.4,
        "reach": 38110,
        "results": 23,
        "spend": 412.37
      }
    ],
    "asOf": "2026-11-20T09:15:00.000Z",
    "campaignLaunchId": "cmv0dbqmv0001vct12clu58vk",
    "campaigns": [
      {
        "clicks": 911,
        "costPerClick": 0.45,
        "costPerResult": 17.93,
        "cpm": 7.93,
        "ctr": 1.21,
        "displayStatus": "LIVE",
        "entityId": "120200000000000001",
        "frequency": 1.36,
        "hookRate": 0.31,
        "impressions": 52014,
        "name": "Vela Daily Greens | CBO",
        "purchaseRoas": 2.4,
        "reach": 38110,
        "results": 23,
        "spend": 412.37
      }
    ],
    "currencyCode": "USD",
    "dataAvailability": "AVAILABLE",
    "datePreset": "last_7d",
    "level": "campaign",
    "timezone": "America/New_York"
  }
}
```

### Get workflow

Get one Koast workflow with its steps, trigger and status.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Workflow (`workflow`, text, required): The workflow.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {}
}
```

### List ad account campaigns

List the campaigns in an ad account, including ones not made in Koast.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Ad account (`account`, text, required): The ad account, as the ad platform writes it (act_… on Meta).
- Status (`status_filter`, list): Only campaigns with these statuses. One or more of: `ACTIVE`, `PAUSED`, `ARCHIVED`.
- Name contains (`name_query`, text): Only campaigns whose name contains this, in any case.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.
- Page size (`limit`, number): How many a page holds, up to 100. Koast's default is 50. From 1 to 100.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "asOf": "2026-11-20T09:15:00.000Z",
    "campaigns": [
      {
        "budgetLevel": "campaign",
        "effective_status": "ACTIVE",
        "id": "120200000000000001",
        "name": "Vela Daily Greens | CBO",
        "objective": "OUTCOME_SALES",
        "status": "ACTIVE"
      }
    ],
    "matched": 1,
    "nameQuery": "greens",
    "nextCursor": "eyJpZCI6Mn0",
    "totalInAccount": 12
  }
}
```

### List automations

List a brand's monitoring automations, the rules that pause or alert on live campaigns.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Status (`status`, text): Only automations with this status, such as ACTIVE or PAUSED.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.
- Page size (`limit`, number): How many a page holds, up to 100. Koast's default is 50. From 1 to 100.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "automations": [
      {
        "action": "pause",
        "actionLevel": "ad",
        "automationId": 31,
        "automationName": "Pause ads over $40 CPA",
        "frequency": "hourly",
        "status": "ACTIVE"
      }
    ],
    "nextCursor": "eyJpZCI6Mn0"
  }
}
```

### List brand notes

List what Koast's agent has learned about a brand: what worked, burned-out creatives and rules to keep.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Type (`note_kind`, text): Only one type of note. One of: `LEARNING` (Learnings), `BURNOUT` (Burned out), `CONSTRAINT` (Rules).
- Status (`status`, text): Active notes, retired notes or both. Koast's default is active. One of: `ACTIVE`, `RETIRED`, `ALL`.
- Ad account (`account`, text): Only notes about this ad account.
- Include notes due for review (`include_due`, true/false): Off to leave out active notes past their review day.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.
- Page size (`limit`, number): How many a page holds, up to 100. Koast's default is 50. From 1 to 100.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "brandId": 1,
    "more": 0,
    "nextCursor": "eyJpZCI6Mn0",
    "notes": [
      {
        "createdAt": "2026-11-01T10:00:00.000Z",
        "due": false,
        "id": "note_01",
        "kind": "LEARNING",
        "outcome": "WORKED",
        "reviewBy": "2027-02-01",
        "status": "ACTIVE",
        "text": "UGC hooks beat studio shots for Daily Greens."
      }
    ],
    "purpose": "browse",
    "total": 1
  }
}
```

### List brands

List the brands you can reach, each with its ad account.

**Inputs**

- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.
- Page size (`limit`, number): How many a page holds, up to 100. Koast's default is 50. From 1 to 100.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "accounts": [
      {
        "accountId": "act_000000000000001",
        "accountName": "Vela Supplements \u00b7 US-1",
        "active": false,
        "brandId": 1,
        "brandName": "Vela Supplements",
        "connected": true,
        "organizationId": 1,
        "provider": "meta"
      }
    ],
    "nextCursor": "eyJpZCI6Mn0"
  }
}
```

### List creatives

List the images and videos in a brand's creative library, newest first.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Name contains (`search`, text): Only creatives whose name or file name matches this.
- Type (`creative_kind`, text): Images, videos or both. One of: `ALL`, `IMAGES`, `VIDEOS`.
- Creative IDs (`creative_ids`, list): Look up these creatives instead of browsing.
- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`limit`, number): How many a page holds, up to 100. Koast's default is 50. From 1 to 100.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "creatives": [
      {
        "aspectRatio": "1:1",
        "createdAt": "2026-11-18T12:00:00.000Z",
        "creativeId": 4412,
        "durationSeconds": 0,
        "height": 1080,
        "isImported": false,
        "kind": "image",
        "name": "greens-hero.jpg",
        "previewUrl": "https://cdn.koast.ai/c/4412-preview.jpg",
        "previewable": true,
        "ready": true,
        "sizeBytes": 245760,
        "url": "https://cdn.koast.ai/c/4412.jpg",
        "width": 1080
      }
    ],
    "nextCursor": "eyJpZCI6Mn0",
    "page": 1,
    "pages": 1,
    "selection": false,
    "total": 1
  }
}
```

### List launches

List one page of a brand's launches, drafts and published, with their status and size.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Ad account (`account`, text): The brand's ad account.
- Status (`status`, text): Only launches with this status. One of: `DRAFT`, `IMPORTED`, `PENDING`, `RUNNING`, `COMPLETED`, `COMPLETED_WITH_ISSUES` (Completed with issues), `ACTION_REQUIRED` (Action required), `FAILED`, `CANCELLED`.
- Title contains (`search`, text): Only launches whose title contains this.
- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`limit`, number): How many a page holds, up to 100. Koast's default is 50. From 1 to 100.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "accountId": "act_000000000000001",
    "asOf": "2026-11-20T09:15:00.000Z",
    "batches": [
      {
        "adsCount": 0,
        "adsetsCount": 0,
        "campaignsCount": 1,
        "createdAt": "2026-10-09T02:50:45.268Z",
        "description": "Q4 push",
        "id": "cmv0dbqmv0001vct12clu58vk",
        "status": "DRAFT",
        "title": "2026/09/19 | PUR | Vela Daily Greens | CBO",
        "updatedAt": "2026-10-09T02:50:45.384Z"
      }
    ],
    "limit": 2,
    "nextCursor": "eyJpZCI6Mn0",
    "page": 1,
    "total": 3
  }
}
```

### List pipeline columns

List the columns of the pipeline board with their stage and settings.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.
- Page size (`limit`, number): How many a page holds, up to 100. Koast's default is 50. From 1 to 100.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "columns": [
      {
        "id": 3,
        "isHidden": false,
        "isSystemDefault": true,
        "name": "In review",
        "organizationId": 1,
        "position": 3,
        "stageKey": "IN_REVIEW",
        "updatedAt": "2026-11-01T00:00:00.000Z"
      }
    ],
    "nextCursor": "eyJpZCI6Mn0"
  }
}
```

### List workflows

List your Koast workflows with their status and when they last ran.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.
- Page size (`limit`, number): How many a page holds, up to 100. Koast's default is 50. From 1 to 100.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {
    "nextCursor": "eyJpZCI6Mn0",
    "workflows": [
      {
        "isRunning": false,
        "lastRunAt": "2026-11-18T08:00:00.000Z",
        "runCount": 8,
        "status": "ACTIVE",
        "type": "scheduled",
        "workflowId": 12,
        "workflowName": "Weekly creative refresh"
      }
    ]
  }
}
```

### Move pipeline card

Move a draft launch's card to another column of the pipeline board.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Launch (`launch`, text, required): The draft launch (pipeline card) to move.
- Column (`stage`, text, required): The column to move it to. A card reaches Published only by publishing. One of: `REQUESTED`, `ASSETS_UPLOADED` (Assets uploaded), `IN_REVIEW` (In review), `APPROVED`, `FAILED`.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {}
}
```

### Run workflow

Start a Koast workflow now. Nothing new starts if it is already running.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Workflow (`workflow`, text, required): The workflow.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {}
}
```

### Set workflow status

Turn a Koast workflow on, pause it or put it back to draft.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Workflow (`workflow`, text, required): The workflow.
- Status (`status`, text, required): On, paused or draft. One of: `ACTIVE` (On), `PAUSED`, `DRAFT`.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {}
}
```

### Turn automation on or off

Turn a monitoring automation on or pause it.

**Inputs**

- Brand (`brand`, number, required): The brand to work in.
- Automation (`automation`, text, required): The monitoring automation.
- Status (`status`, text, required): On or paused. One of: `ACTIVE` (On), `PAUSED`.

**Outputs**

- `data` (object): The response from Koast.

**Example output**

```json
{
  "data": {}
}
```
