Outcome
Record the outcome of an open manual task. done or skipped moves the enrollment to its next step (or starts the silence period after the last step). replied stops the enrollment as replied; not_interested stops it as replied, records the negative outcome for analytics and adds a not_interested event to the suppression ledger. Nothing is sent by Engage. 404 when the task is not in this workspace; 409 state_conflict when it is not open. Verify with tasks.get and enrollments.get. Audited.
Before you start
- Verify the intended environment, signed-in credential, authorized organization and the action permission workspace:write.
- Discover and select an authorized canonical Engage workspace. Pass resourceType=workspace and resourceId separately from action input.
- Review the exact effects and obtain approval before CLI --confirm or MCP confirm:true. A local capture does not authorize a live mutation.
Discover the target
topolo whoami --json
topolo actions get app_topolo_engage.tasks.complete --json
topolo workspaces list topolo-engage --json
Set ENGAGE_WORKSPACE_ID to the identifier of the selected authorized workspace.
Input contract
| Field | Required | Declared constraints |
|---|---|---|
id | Yes | {"type":"string","minLength":1,"maxLength":128} |
outcome | Yes | {"type":"string","enum":["done","skipped","replied","not_interested"]} |
note | No | {"type":"string","maxLength":2000} |
Validate, plan and execute
Build payload.json from the current schema and discovered identifiers. The action description above defines its behavior, limits, side effects and declared errors.
: "${ENGAGE_WORKSPACE_ID:?Set ENGAGE_WORKSPACE_ID to your selected workspace identifier}"
topolo actions validate app_topolo_engage.tasks.complete --data @payload.json --json
topolo actions plan app_topolo_engage.tasks.complete --resource-type workspace --resource-id "$ENGAGE_WORKSPACE_ID" --data @payload.json --confirm --json
Review the plan and approve its exact effects before executing the unchanged request.
: "${ENGAGE_WORKSPACE_ID:?Set ENGAGE_WORKSPACE_ID to your selected workspace identifier}"
topolo actions call app_topolo_engage.tasks.complete --resource-type workspace --resource-id "$ENGAGE_WORKSPACE_ID" --data @payload.json --confirm --json
For MCP, use topolo_get_action, topolo_validate_action, topolo_plan_action and topolo_call_action. Pass resource context separately where required; confirm:true is required for mutations.
Captured successful requests and responses
Captured HTTP 200 · the runner on a task step > creates one task for the campaign owner, waits for it, and moves on when it is done
Action input
{
"id": "eng_tsk_1",
"outcome": "done",
"note": "Connected"
}
Actual local response
{
"task": {
"id": "eng_tsk_1",
"type": "linkedin_task",
"status": "done",
"outcome": "done",
"instructions": "Send a connection request mentioning the webinar.",
"note": "Connected",
"campaignId": "eng_cmp_1",
"enrollmentId": "eng_enr_1",
"contactId": "contact_1",
"stepPosition": 1,
"assigneeId": "user_1",
"dueAt": "2026-10-08T08:30:00.000Z",
"completedAt": "2026-10-06T08:30:00.000Z",
"completedBy": "user_1",
"createdAt": "2026-10-06T08:30:00.000Z",
"updatedAt": "2026-10-06T08:30:00.000Z",
"overdue": false,
"contact": {
"id": "contact_1",
"name": "Ada Lovelace",
"email": "ada@acme.io",
"company": "Analytical",
"title": "CTO",
"linkedinUrl": "https://www.linkedin.com/in/ada",
"phone": "+44 20 0000"
}
}
}
Source test: the runner on a task step > creates one task for the campaign owner, waits for it, and moves on when it is done. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · the runner on a task step > replied stops the enrollment as a reply
Action input
{
"id": "eng_tsk_1",
"outcome": "replied"
}
Actual local response
{
"task": {
"id": "eng_tsk_1",
"type": "linkedin_task",
"status": "done",
"outcome": "replied",
"instructions": "Send a connection request mentioning the webinar.",
"note": null,
"campaignId": "eng_cmp_1",
"enrollmentId": "eng_enr_1",
"contactId": "contact_1",
"stepPosition": 1,
"assigneeId": "user_1",
"dueAt": "2026-10-08T08:30:00.000Z",
"completedAt": "2026-10-06T08:30:00.000Z",
"completedBy": "user_1",
"createdAt": "2026-10-06T08:30:00.000Z",
"updatedAt": "2026-10-06T08:30:00.000Z",
"overdue": false,
"contact": {
"id": "contact_1",
"name": "Ada Lovelace",
"email": "ada@acme.io",
"company": "Analytical",
"title": "CTO",
"linkedinUrl": "https://www.linkedin.com/in/ada",
"phone": "+44 20 0000"
}
}
}
Source test: the runner on a task step > replied stops the enrollment as a reply. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · the runner on a task step > not_interested stops the enrollment, records the negative outcome and a suppression ledger event
Action input
{
"id": "eng_tsk_1",
"outcome": "not_interested",
"note": "Said no on LinkedIn"
}
Actual local response
{
"task": {
"id": "eng_tsk_1",
"type": "linkedin_task",
"status": "done",
"outcome": "not_interested",
"instructions": "Send a connection request mentioning the webinar.",
"note": "Said no on LinkedIn",
"campaignId": "eng_cmp_1",
"enrollmentId": "eng_enr_1",
"contactId": "contact_1",
"stepPosition": 2,
"assigneeId": "user_1",
"dueAt": "2026-10-15T08:00:00.000Z",
"completedAt": "2026-10-13T08:00:00.000Z",
"completedBy": "user_1",
"createdAt": "2026-10-13T08:00:00.000Z",
"updatedAt": "2026-10-13T08:00:00.000Z",
"overdue": false,
"contact": {
"id": "contact_1",
"name": "Ada Lovelace",
"email": "ada@acme.io",
"company": "Analytical",
"title": "CTO",
"linkedinUrl": "https://www.linkedin.com/in/ada",
"phone": "+44 20 0000"
}
}
}
Source test: the runner on a task step > not_interested stops the enrollment, records the negative outcome and a suppression ledger event. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · tasks.* actions > reassigns an open task (audited) and refuses closed or unknown tasks
Action input
{
"id": "eng_tsk_1",
"outcome": "done"
}
Actual local response
{
"task": {
"id": "eng_tsk_1",
"type": "linkedin_task",
"status": "done",
"outcome": "done",
"instructions": "Send a connection request mentioning the webinar.",
"note": null,
"campaignId": "eng_cmp_1",
"enrollmentId": "eng_enr_1",
"contactId": "contact_1",
"stepPosition": 1,
"assigneeId": "user_2",
"dueAt": "2026-10-08T08:30:00.000Z",
"completedAt": "2026-10-06T08:30:00.000Z",
"completedBy": "user_1",
"createdAt": "2026-10-06T08:30:00.000Z",
"updatedAt": "2026-10-06T08:30:00.000Z",
"overdue": false,
"contact": {
"id": "contact_1",
"name": "Ada Lovelace",
"email": "ada@acme.io",
"company": "Analytical",
"title": "CTO",
"linkedinUrl": "https://www.linkedin.com/in/ada",
"phone": "+44 20 0000"
}
}
}
Source test: tasks.* actions > reassigns an open task (audited) and refuses closed or unknown tasks. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · tasks.* actions > records the outcome without touching an enrollment that already ended
Action input
{
"id": "eng_tsk_1",
"outcome": "done",
"note": ""
}
Actual local response
{
"task": {
"id": "eng_tsk_1",
"type": "linkedin_task",
"status": "done",
"outcome": "done",
"instructions": "Send a connection request mentioning the webinar.",
"note": null,
"campaignId": "eng_cmp_1",
"enrollmentId": "eng_enr_1",
"contactId": "contact_1",
"stepPosition": 1,
"assigneeId": "user_1",
"dueAt": "2026-10-08T08:30:00.000Z",
"completedAt": "2026-10-06T08:30:00.000Z",
"completedBy": "user_1",
"createdAt": "2026-10-06T08:30:00.000Z",
"updatedAt": "2026-10-06T08:30:00.000Z",
"overdue": false,
"contact": {
"id": "contact_1",
"name": "Ada Lovelace",
"email": "ada@acme.io",
"company": "Analytical",
"title": "CTO",
"linkedinUrl": "https://www.linkedin.com/in/ada",
"phone": "+44 20 0000"
}
}
}
Source test: tasks.* actions > records the outcome without touching an enrollment that already ended. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · the runner on a task step > creates one task for the campaign owner, waits for it, and moves on when it is done
Action input
{
"id": "eng_tsk_2",
"outcome": "skipped"
}
Actual local response
{
"task": {
"id": "eng_tsk_2",
"type": "call_task",
"status": "done",
"outcome": "skipped",
"instructions": "Call the main office.",
"note": null,
"campaignId": "eng_cmp_1",
"enrollmentId": "eng_enr_1",
"contactId": "contact_1",
"stepPosition": 3,
"assigneeId": "user_1",
"dueAt": "2026-10-15T07:00:00.000Z",
"completedAt": "2026-10-15T07:00:00.000Z",
"completedBy": "user_1",
"createdAt": "2026-10-15T07:00:00.000Z",
"updatedAt": "2026-10-15T07:00:00.000Z",
"overdue": false,
"contact": {
"id": "contact_1",
"name": "Ada Lovelace",
"email": "ada@acme.io",
"company": "Analytical",
"title": "CTO",
"linkedinUrl": "https://www.linkedin.com/in/ada",
"phone": "+44 20 0000"
}
}
}
Source test: the runner on a task step > creates one task for the campaign owner, waits for it, and moves on when it is done. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Effects and response meaning
- Record the outcome of an open manual task. done or skipped moves the enrollment to its next step (or starts the silence period after the last step). replied stops the enrollment as replied; not_interested stops it as replied, records the negative outcome for analytics and adds a not_interested event to the suppression ledger. Nothing is sent by Engage. 404 when the task is not in this workspace; 409 state_conflict when it is not open. Verify with tasks.get and enrollments.get. Audited.
Verify the outcome
- Check the response against the declared output schema and the requested operation. For mutations, use the action-specific read described in the action description before any dependent operation.
Recover
For an uncertain result, inspect current retained state with a read action before retrying. Do not replay a mutation unless its contract explicitly guarantees idempotency.
Refused requests
Captured HTTP 409 · tasks.* actions > reassigns an open task (audited) and refuses closed or unknown tasks
Action input
{
"id": "eng_tsk_1",
"outcome": "done"
}
Actual local response
{
"error": {
"code": "state_conflict",
"message": "This task is no longer open."
}
}
Source test: tasks.* actions > reassigns an open task (audited) and refuses closed or unknown tasks. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 404 · tasks.* actions > reassigns an open task (audited) and refuses closed or unknown tasks
Action input
{
"id": "eng_tsk_9",
"outcome": "done"
}
Actual local response
{
"error": {
"code": "not_found",
"message": "Task was not found in this workspace."
}
}
Source test: tasks.* actions > reassigns an open task (audited) and refuses closed or unknown tasks. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 422 · tasks.* actions > reassigns an open task (audited) and refuses closed or unknown tasks
Refused input; do not execute
{
"outcome": "maybe",
"id": "eng_tsk_1"
}
Actual local response
{
"error": {
"code": "invalid_action_input",
"message": "Input for tasks.complete is invalid.",
"details": [
{
"code": "invalid_value",
"values": [
"done",
"skipped",
"replied",
"not_interested"
],
"path": [
"outcome"
],
"message": "Invalid option: expected one of \"done\"|\"skipped\"|\"replied\"|\"not_interested\""
}
]
}
}
Source test: tasks.* actions > reassigns an open task (audited) and refuses closed or unknown tasks. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 403 · tasks.* actions > lets a reader list and read, but not complete or reassign; other workspaces see nothing
Action input
{
"id": "eng_tsk_1",
"outcome": "done"
}
Actual local response
{
"error": {
"code": "permission_denied",
"message": "The credential lacks workspace:write.",
"details": {
"requiredPermission": "workspace:write"
}
}
}
Source test: tasks.* actions > lets a reader list and read, but not complete or reassign; other workspaces see nothing. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Error recovery
- HTTP 409
state_conflict: Read the current retained state and reconcile the requested transition before retrying. Do not blindly replay a non-idempotent mutation. - HTTP 404
not_found: Rediscover the identifier using the related list or get action in the same authorized resource. Do not guess identifiers or change organization context. - HTTP 422
invalid_action_input: Correct the request against the current action input schema, then validate it again before planning. - HTTP 403
permission_denied: Stop and inspect the current credential and selected resource. It needs workspace:write; do not broaden access or switch organization automatically.
Related actions
Evidence and limits
-
/api/tasks/{id}/complete -
Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
-
Widget/bootstrap use actual app handler but mocked worker runtime and app identity.
-
No gateway execution, live permissions, external delivery or deployed proof.
These are local route captures with synthetic identity and simulated dependencies. They do not prove live authorization, gateway execution, production state, or external delivery.