Skip to main content
Docs menu
All MCP tools

MCP tools · Compose flows

flow_setup_workspace

Set up the workspace: its name, profile, time zone and invitations for teammates. Needs an Owner or Admin. Each invitation emails a person, so it is held for approval when a member's token runs it. Pipeline stages and calling hours have no /v1 endpoint yet: the user sets them in Finn. Always call it first without run: it answers the full plan and its checks and changes nothing. Show the user that plan; only after they say yes, call again with the same input and run: true. Steps that cost money or reach a person are held for a person in the organization to approve in Finn; the run stops there with the approval link.

Scope needed
admin:read or admin:write
Acts as
You, the signed-in member, with your role's permissions.
Changes data
Yes
Held for approval
Can be. The call returns a pending approval and an approve link, and nothing happens until a person in your organization approves it in Finn.
Available to
Switched on per organization (compose flow tools)

Inputs

NameTypeDescription
namestringNew workspace name.
profileobjectWorkspace profile (PUT /v1/settings/profile body).
timezonestringIANA time zone, e.g. America/New_York.
invitationsarray of objectTeammates to invite, each { email, role }.
org_idstringOrganization id. Optional when the user belongs to one organization; otherwise the error lists theirs.
runbooleanLeave out (or false) to get the plan only: nothing is changed. Set true only after you have shown the user the plan and they said yes.
resume_keystringWith run: true, the resume_key an earlier run returned, to finish it after an approval without repeating done steps.