Onboarding Goals
get_onboarding_goalsRead the goals card for chat onboarding: three questions and the person's answers. Call it first in chat onboarding (the journey's goals stage) and show the goals card. questions: outcomes ("What do you want Spark to help with?", pick any, plus free text in other), fulfillment ("How do you fulfill orders?", pick one) and manufacturing ("Do you make products?", pick one). Each option has key (what save_onboarding_goals takes), title, description, chosen and planNeeded (the plan that unlocks what it sets up; the person can still pick it). The card saves the answers with save_onboarding_goals. Without the card, ask the three questions by title and save the answers. goals are the Foundations goals the answers set up; they decide which records the next steps ask for. Requires an operator (unpinned) credential.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_onboarding_goals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| goals | No | ||
| answers | No | ||
| summary | No | ||
| setAside | No | ||
| questions | No | ||
| handOffMessage | No |