Skip to main content
Docs menu
All MCP tools

MCP tools · CRM

crm_simulate_journey

Walks a pipeline stage by stage, without saving anything or moving any record, and says where a record would get to: one row per stage (start / reached / blocked), stopping at the first stage whose entry check fails, with each unmet check, an action that fixes it (send_form, complete_form, answer_on_form, verify_document, review_form, upload_document, set_field, tick, set_substatus, add_rows) and the forms that would fix it (which stage's checklist has each, and whether it was already sent earlier). Start from a real record (`record_id`), a `scenario` (field values and what is on file, e.g. { fields: { injury_type: "physical" } }), or both. Checks the saved setup, or a proposed `plan` (crm_get_setup_plan's document, edited). `assume` sent_forms_submitted (default): forms on a reached stage's checklist count as submitted with their uploads; none: only what the record / scenario holds. Admins only. Read-only: use it to test a setup end to end before applying it.

Scope needed
crm:read
Acts as
You, the signed-in member, with your role's permissions.
Changes data
No, read only
Held for approval
No
Available to
Every organization

Inputs

NameTypeDescription
org_idstringOrganization id. Optional when the user belongs to one organization.
record_idstringA record to walk from its own stage.
scenarioobjectWhat-if values: fields { key: value } (name/email/phone/owner are built-ins), documents { doc_type: received|verified }, forms_submitted [form id or key], ticks [check id], sections { field: rows }, substatus { stage: substatus }.
planobjectA proposed setup (finn.workspace/v1). Omit to check the saved setup.
pipeline_idstringPipeline to walk (default: the record's own, or the main stages).
from_stagestringScenario only: stage to start at (default the first).
assumeenum: sent_forms_submitted | noneDefault sent_forms_submitted.