Workflow Review
Human-in-the-loop review — list, approve, reject, edit, and retry pending workflow actions.
Tools (6)
Section titled “Tools (6)”list_pending_reviews
Section titled “list_pending_reviews”Full name: campaignstack_list_pending_reviews
List pending workflow review actions requiring human approval. Returns entries with lead details (including leadLinkedInUrl), crafted content, aiReasoning, aiSources (which provided context the draft drew on, e.g. post, signal, experience, web; null for older drafts), conversationHistory (the prior thread with the lead, sender self/lead, null for cold opens), campaign/workflow context, and a reviewContext discriminated union: type “post_comment” includes commentText, postContent, postUrl, postAuthorName, postUnavailable (true when the post was deleted on LinkedIn) (when triggered by a post comment signal); type “campaign” for regular campaign workflow reviews; null when context cannot be determined. bookedMeeting (non-null when the calendar booking chain already booked a meeting from a link the lead sent) means the draft under review is that meeting’s confirmation: the booking is done, rejecting the draft stops the message but never cancels the meeting. reviewTags marks priority items (e.g. meeting_booked); tagged entries are pinned at the top of the first page ahead of the FIFO queue - review them first. Use campaignstack_approve_review, campaignstack_reject_review, or campaignstack_edit_and_approve_review to act on entries.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
workspaceId | string | Yes | — | (min length: 1) |
limit | integer | No | 20 | (min: 1, max: 100) |
cursor | string | No | — |
count_pending_reviews
Section titled “count_pending_reviews”Full name: campaignstack_count_pending_reviews
Count pending workflow review actions in a workspace. Returns the total number of entries awaiting human approval.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
workspaceId | string | Yes | — | (min length: 1) |
approve_review
Section titled “approve_review”Full name: campaignstack_approve_review
Approve a pending review entry. For a draft parked at a review node, the lead advances via the ‘approved’ edge. For an escalated entry parked at the acting node itself (critic-flagged auto-send, agent escalation), approval RESUMES the withheld action: the runner action is re-dispatched with the approved text, or the draft is released through the node’s delivery exit. Use campaignstack_list_pending_reviews to find entry IDs.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entryId | string | Yes | — | (min length: 1) |
workspaceId | string | Yes | — | (min length: 1) |
reject_review
Section titled “reject_review”Full name: campaignstack_reject_review
Reject a pending review entry. The lead follows the ‘rejected’ edge in the workflow.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entryId | string | Yes | — | (min length: 1) |
workspaceId | string | Yes | — | (min length: 1) |
edit_and_approve_review
Section titled “edit_and_approve_review”Full name: campaignstack_edit_and_approve_review
Edit the AI-generated content and approve the review entry. The original content is preserved for audit trail. Draft parked at a review node: the lead advances via the ‘approved’ edge. Escalated entry parked at the acting node: the withheld action is resumed with your edited text (re-dispatched or released through the delivery exit).
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entryId | string | Yes | — | (min length: 1) |
workspaceId | string | Yes | — | (min length: 1) |
updatedContent | object | Yes | — |
retry_review
Section titled “retry_review”Full name: campaignstack_retry_review
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.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entryId | string | Yes | — | (min length: 1) |
workspaceId | string | Yes | — | (min length: 1) |