Skip to content

Workflow Review

Human-in-the-loop review — list, approve, reject, edit, and retry pending workflow actions.

Full name: campaignstack_list_pending_reviews

workflows:read Read-only Idempotent

List pending workflow review actions requiring human approval. Returns entries with lead details, crafted content, campaign/workflow context. Use campaignstack_approve_review, campaignstack_reject_review, or campaignstack_edit_and_approve_review to act on entries.

NameTypeRequiredDefaultDescription
workspaceIdstringYes(min length: 1)
limitintegerNo20(min: 1, max: 100)
cursorstringNo

Full name: campaignstack_count_pending_reviews

workflows:read Read-only Idempotent

Count pending workflow review actions in a workspace. Returns the total number of entries awaiting human approval.

NameTypeRequiredDefaultDescription
workspaceIdstringYes(min length: 1)

Full name: campaignstack_approve_review

workflows:write

Approve a pending review entry. The lead advances to the next workflow node via the ‘approved’ edge. Use campaignstack_list_pending_reviews to find entry IDs.

NameTypeRequiredDefaultDescription
entryIdstringYes(min length: 1)
workspaceIdstringYes(min length: 1)

Full name: campaignstack_reject_review

workflows:write

Reject a pending review entry. The lead follows the ‘rejected’ edge in the workflow.

NameTypeRequiredDefaultDescription
entryIdstringYes(min length: 1)
workspaceIdstringYes(min length: 1)

Full name: campaignstack_edit_and_approve_review

workflows:write

Edit the AI-generated content and approve the review entry. The original content is preserved for audit trail. The lead advances via the ‘approved’ edge.

NameTypeRequiredDefaultDescription
entryIdstringYes(min length: 1)
workspaceIdstringYes(min length: 1)
updatedContentobjectYes

Full name: campaignstack_retry_review

workflows:write

Retry AI content generation for a pending review entry. The entry returns to PROCESSING while the AI regenerates, then comes back to PENDING_REVIEW with new content.

NameTypeRequiredDefaultDescription
entryIdstringYes(min length: 1)
workspaceIdstringYes(min length: 1)