AI Tasks
Workspace AI Tasks are reusable LLM steps for ChatMaven Flow. You write the instructions and outputs once here. When a flow runs Run AI Task, variables in {{...}} resolve automatically.
Live URL: live.chatmaven.ai/workspaces/ai-tasks
Open AI Tasks
Top bar Workspaces → sidebar AI Tasks.

The page subtitle explains the idea: Reusable structured LLM tasks for CM Flow. Define instructions and outputs here; flow variables in {{…}} resolve automatically when a Run AI Task step runs.
The table lists Name, Key, Model, and Actions. Rows marked PRESET are built-in starters:
| Preset name | Key (example) |
|---|---|
| Classify intent & urgency | classify_intent |
| Extract structured fields | extract_fields |
| Summarize conversation | summarize_session |
| Tag from form or WA response | tag_from_submission |
Custom tasks you create appear in the same table. Presets show Duplicate and Edit only (no delete).
Create an AI Task
- Click + Add AI Task.

-
In New AI Task, set:
- Display name — label shown in lists and in the flow step dropdown (for example Classify support intent).
- Task key — unique per workspace. Use lowercase letters, numbers, and underscores only (for example
classify_intent). - AI Instruction — describe what the model should do. Type
{{to insert flow variables (contact, form, and session values). Missing values resolve to empty at runtime. - Include conversation transcript — check this when the model should see the chat history.
- Input template (optional) — extra text sent as input data. Supports
{{variables}}(for exampleForm submission: {{_form_response}}).
-
Under Output → flow variables, map each model field to a flow variable:
- Output field — name of the field the model returns (for example
resultorsummary). - Variable name — how you use it in the flow (for example
_ai_result→{{_ai_result}}). The form shows Use in flow:{{…}}under the name. - Type — Text, Number, or List.
- Description — short note for your team (placeholder: What the model should return).
- Use + Add output field for more outputs. The trash icon removes a row (you must keep at least one).
Use distinct variable names when you run more than one AI Task in the same flow, so outputs do not overwrite each other.
- Output field — name of the field the model returns (for example
-
Choose Model (for example
gpt-4o-mini; other models appear in the list, and some are plan-locked) and set Creativity with the slider (higher = more variety). Default for a new task is often 20%. -
Optionally set PII scrub: inherit, off (default), standard, or strict. The UI notes values are stored for later—PII scrub is not applied until that feature ships.
-
Click Create; Cancel closes without saving.

Paste variables such as {{_ai_result}} or {{_ai_summary}} into Message, Send Email, Condition, or Add Note after a Run AI Task step.
Preset output examples
These are the defaults you see when you open a preset (you can change variable names when you edit):
| Preset | Example outputs |
|---|---|
| Summarize conversation | summary → {{_ai_summary}} |
| Classify intent & urgency | intent → {{_ai_intent}}, urgency → {{_ai_urgency}}, sentiment → {{_ai_sentiment}}, confidence → {{_ai_confidence}} (Number) |
Edit, duplicate, or delete
| Action | How |
|---|---|
| Edit | In Actions, click the pencil. The Edit AI Task modal opens. Change fields the same way as creation, then click Update. Cancel discards changes. |
| Duplicate | In Actions, click the duplicate icon to copy a task, then edit the copy. |
| Delete | Custom tasks show a trash icon. Confirm delete when prompted. Preset tasks do not show delete. |

On presets, Task key is locked. Helper text: Preset keys cannot be changed. You can still edit the display name, instructions, outputs, model, and creativity.
Use an AI Task in a Flow
- Create or open the task under Workspaces → AI Tasks.
- Open Flows, edit a flow (or click Add flow), and add Run AI Task from STEPS under AI.
- Select the task in the right panel (the dropdown shows display name and key, for example Summarize conversation (summarize_session)). ChatMaven shows what the task Uses and what it Receives from AI.
- Connect the OK and Fail paths, then Save the flow.
Full step details: AI steps — Run AI Task.
Suggested use cases
- Summarize the conversation before assignment or email.
- Classify intent or urgency, then branch with Condition.
- Extract structured fields from a form or WhatsApp reply.
- Build an email body variable, then send it with Send Email.
FAQ
Do I configure AI Tasks on each agent?
No. AI Tasks belong to the workspace. Any flow in that workspace can run them with the Run AI Task step.
Why is my variable empty after the task runs?
Check that the variable name on the AI Task matches what you paste in later steps (for example {{_ai_summary}}). Also confirm the flow reaches the OK path and that inputs such as transcript or form variables exist when the task runs. If you run several AI Tasks in one flow, give each output a distinct variable name.
Can I delete a preset?
No. Presets can be duplicated or edited, but they do not show a delete action. Preset Task key values cannot be changed.
Does PII scrub hide data today?
Not yet. You can choose a PII scrub setting, but the product stores it for later—scrubbing is not applied until that feature ships.