BrandKarma

approve_workstream

Approves an entire workstream — sets its 'Idea' status items to 'ApprovedForGeneration' and dates them. By default ideas that already have a scheduledDate keep it, and newly dated ideas take the next free two-day slots from startDate (default today), skipping days another idea in the workstream already holds. Pass preserveScheduledDates=false to re-date every approved, not-yet-written idea from startDate. Pass excludeIdeaIds to leave specific ideas unapproved and undated (their status is not changed).

Remote Account required revuo:brandkarma-4084

Remote (network-hosted) · Requires an account with the vendor · OAuth

Other tools also called approve_workstream? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "planId": {
      "description": "Content plan ID (ObjectId)",
      "type": "string"
    },
    "workstreamId": {
      "description": "Workstream ID (GUID)",
      "type": "string"
    },
    "preserveScheduledDates": {
      "description": "Keep existing scheduledDates (default true). False re-dates every approved, unwritten idea.",
      "type": "boolean",
      "default": true
    },
    "excludeIdeaIds": {
      "description": "Idea IDs (GUIDs) to leave alone: not approved, not dated.",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "startDate": {
      "description": "First date to schedule new ideas on (ISO 8601). Default today (UTC).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "planId",
    "workstreamId"
  ]
}