List workflow cards

Cards of a People workflow that are ready or snoozed, with person, step and assignee.

GET https://cotlet.dev/api/v1/planning-center/workflow-cards

read

Returns the cards behind the Ready filter of a workflow, or its Snoozed option. Each card has the person, the current step and the assignee. Use card_id with complete_workflow_step and snooze_workflow_card.

Parameters

Parameters: list_workflow_cards
NameTypeDescription
workflow string required string Workflow name as People shows it.
view enum enum ready or snoozed. Default: ready.

Request

cURL
curl "https://cotlet.dev/api/v1/planning-center/workflow-cards?workflow=workflow" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("planning-center", "list_workflow_cards", {"workflow":"workflow"})
Node.js
const result = await cotlet.call('planning-center', 'list_workflow_cards', {"workflow":"workflow"});
CLI
cotlet call planning-center list_workflow_cards --data '{"workflow":"workflow"}'

Example response

JSON

{
  "cards": [
    {
      "card_id": "9031",
      "person_id": "51207",
      "person": "Hannah Cole",
      "step": "Add welcome note",
      "assignee": "Grace Miller"
    },
    {
      "card_id": "9034",
      "person_id": "51330",
      "person": "Ben Ortiz",
      "step": "Add welcome note",
      "assignee": "Grace Miller"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.