generate_lead_funnel
Generate lead-funnel qualification stages and scoring from an agent prompt using AI, returning suggested steps to save via update_agent.
Instructions
Draft lead-funnel steps (qualification stages and scoring) from an agent prompt with AI. Returns the suggested steps only — save them with update_agent funnelConfig. Pass the agent prompt text; get it from get_agent if needed. Actions: generate — suggest funnel steps
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | compact (default) = light mode: long text is cut and bulky blobs are replaced by a size marker. full = complete API response. | |
| action | Yes | ||
| userNotes | No | Extra guidance, e.g. what a hot lead means for this business. | |
| agentPrompt | Yes | The agent instructions to analyse. | |
| existingSteps | No | Current steps to refine instead of starting over. |