Skip to content

Trigger Procedure Request

Request body for triggering a Fin Procedure for a user.

userobjectrequired

The user to start the procedure for.

localestring

The language for the conversation, such as fr. If omitted, or if Fin does not support it for your workspace, your workspace's default language is used.

Example:"fr"
contextobject

Data about why you are triggering the procedure, made available to the procedure as it runs. Send an object of any shape.

Example:
{ "order_id": "ord-789", "plan": "premium" }
{ "user": { "id": "user-456" }, "locale": "fr", "context": { "order_id": "ord-789", "plan": "premium" } }