PebbleChat Task Node

🚀

Enhanced

A PebbleAI node. It is not part of the upstream Flowise node set — it exists only in Pebble.


The PebbleChat Task node runs one step of your flow through PebbleChat itself — as if the person who started the flow had typed that instruction into their own chat window, except it happens headlessly in the middle of your workflow.

It is the node to reach for whenever a step is a business task: summarise, classify, research, draft, review, or “go and look that up in our documents”. You will find it in the Agentflow canvas node picker, alongside the LLM, Agent and Tool nodes.

A working node is usually two fields. Everything else sits under Advanced Options in the node editor, and the defaults are chosen so that you rarely need to open it.

An Agentflow canvas with a PebbleChat Task node connected to Start and its editor open, showing Model, Task Instruction and the collapsed Advanced Options section

Why choose it over the LLM or Agent node

NodeWhat the step gets
LLMOne model call with the messages you write. No tools, no company knowledge.
AgentA model plus exactly the tools, document stores and vector stores you wire into that node yourself.
PebbleChat TaskThe whole PebbleChat runtime, running as the person who triggered the flow — their skills, their connected tools, document store search, file handling, and optionally your organisation’s business context.

Reach for PebbleChat Task when the step needs any of this:

  • Organisation-approved models. The Model list is the approved catalogue from Organisation Models plus any PebbleRouter routing profiles visible to the workspace. Nothing is hard-coded into the flow, so when your organisation changes its approved models the flow follows.
  • The person’s own tools and skills. The same connected integrations and skills they get in chat, selected for the step the same way chat selects them.
  • Document stores as knowledge. Choose document stores by name and the step can search them before it answers.
  • Ambient business context. Optionally include the user profile, local time, and your organisation’s context blocks, so the step answers like a normal chat rather than a bare model call.
  • Structured output. Describe a JSON shape and later nodes read stable fields instead of parsing prose.
  • Conversation continuity. Steps can share one conversation — and one working area for the files they produce — or deliberately stay apart.
  • Attribution you can audit. Every step is traced in PebbleObserve with the model, tokens and cost, attributed to the flow, the run and the node.

If your step is pure text transformation with no company context — “convert this to title case”, “extract the dates” — the LLM node is lighter and perfectly adequate. Use PebbleChat Task when the answer depends on your business.

The two fields you must fill

Model

Leave this on Default unless you have a specific reason not to.

  • Default — the step uses the same model the person running the flow would get in PebbleChat: the first entry in their approved model list. If your organisation changes what is approved, the flow follows automatically, with no edit.
  • A named model or routing profile — pins the step to predictable capability, cost or latency. Worth doing for a step that genuinely needs a stronger reasoning model, or one you want to keep cheap.

If no approved model can be resolved for that user, the node fails with a clear error rather than quietly substituting something else.

Task Instruction

This is the prompt for the step. Write it as an instruction to a capable colleague who has not seen the rest of your flow: say what to do, what to work from, and what to hand back.

A poor instruction

Summarise this

It fails for three reasons. There is no “this” — the node does not silently receive the previous step’s output, so nothing has been handed to it. There is no audience or length, so the result varies run to run. And there is no statement of what to return, so later nodes cannot rely on the shape.

A good instruction

Summarise the customer feedback below for a support team lead who has not seen
it before. Use no more than five sentences of plain English, no bullet points.
Finish with a single line beginning "Suggested owner:" naming the team best
placed to act on it.

Feedback:
{{ question }}

Specific about the reader, the length, the format, and the last line — so every run produces something the next node can use.

Type {{ in the field to open the variable picker. It lists the flow’s input, every node that has already run, and every flow-state key declared in the Start node, so you never have to type a node reference by hand.

Advanced Options

Context: Auto or Manual

Context Selection decides how the step gets its capabilities.

  • Auto (default) — the normal PebbleChat experience. The default toolkit is available, connected tools are matched to the step the way chat matches them, and skills are ranked and offered automatically. Choose this when the step should behave like a knowledgeable colleague working in chat.
  • Manual — the step receives only what you select below, and nothing else. Choose this when a step must be predictable and narrow: a compliance review that may consult one policy document and nothing more, or a batch step you want to keep cheap and deterministic.

In Manual mode each selector shows readable names and stores the stable identifier behind the scenes, so renaming something later does not break the flow.

Manual sourceWhat selecting it does
Default ToolkitAdds PebbleChat’s built-in Web Search or Research capability to the step.
Document StoresGives the step a search tool for each store you pick, so it can look up your curated knowledge before answering.
Past ChatsLets the step retrieve the history of specific earlier conversations, chosen by title — useful for “draft a follow-up based on that discovery call”.
FlowsMakes other Agentflows callable, so this step can delegate deeper work when it is genuinely useful.
AssistantsMakes named assistants available to the step.
ToolsAdds specific connected tools, listed as Connection - tool (for example Google Drive - search), drawn from the running user’s own connections.
SkillsPrioritises specific skills for this step, chosen by display name.
RulesAdds a short built-in guidance block — Pebble AI Project Rules (work precisely and step by step, follow existing patterns) or Security Guidelines (validate permissions, sanitise inputs, never expose credentials).
⚠️

In Manual mode, skills are available only if you select some. If you switch a working node from Auto to Manual and it suddenly stops using a skill you relied on, that is why — select the skill explicitly.

Include Ambient Context

Off by default, so that flows behave predictably and cheaply.

Turn it on when a step should answer like a normal PebbleChat conversation. The step then also receives the user’s profile and local time, your platform prompt context, and the organisation, workspace and user ambient context blocks — the same background knowledge that makes chat answers feel like they come from inside your business.

System Prompt

Optional. Leave it blank for normal behaviour.

Use it only when a step needs a stable role, output contract or guardrail that sits outside the task itself — for example “Return terse JSON only” or “You are reviewing for regulatory compliance; never speculate.” Anything that is really part of the task belongs in Task Instruction.

Max Steps Override

Caps the number of tool-call steps this node may take in one turn, overriding the organisation-wide Agent Step Budget for this node only. Leave it blank to inherit the organisation default.

Raise it for a file-heavy sub-agent that needs to work through many documents, without raising the budget for everyone. See Chat Settings → Agent Step Budget for the organisation-wide setting.

Context Policy

This decides where the step’s work is recorded, and which steps share a working area for the files they produce. Each PebbleChat Task step runs in a real PebbleChat conversation, private to the user who triggered the flow and titled PebbleFlow - your flow name.

PolicyWhat happensUse it when
Continue Flow Conversation (default)Every Continue step in the same run shares one conversation, created by the first one to run. They also share one working area, so a file produced in step 1 is still there in step 4.The normal choice for multi-step flows, especially anything that produces or reads files.
Fork Child ConversationThe step gets its own new conversation, linked as a child of the run’s main conversation.A side task — a long analysis, a noisy experiment — that you want recorded but kept out of the main thread.
Isolated ConversationA brand-new conversation for this node alone. Nothing is shared with the rest of the run.Deterministic one-off processing, or a batch step whose output should stand entirely on its own.
Resume ConversationContinues a specific existing conversation, whose ID you supply in Resume Conversation ID. It must belong to the same user, organisation and workspace; if it cannot be found, a new conversation is created instead.Carrying a thread across separate runs — for example a scheduled flow that keeps adding to the same conversation.

For Resume, feed the field either a value from your flow input or the conversation ID an earlier step returned:

{{ pebbleChatSkillTaskAgentflow_0.output.conversationId }}
⚠️

A context policy is about where work is recorded and which steps share files — it is not automatic memory. Each step’s model call sees its own task instruction, the flow’s original input, and the context you selected; it does not see the text of previous steps. Pass information forward explicitly with node references or flow state, as below.

Output Schema

Leave this blank and the step returns ordinary prose.

Fill it in and the step is asked to return JSON matching the shape you describe, and the node parses that JSON into output.structured so later nodes can read stable fields. Keep the shape small and flat — it is a description of what you want back, not a validated contract:

{
  "summary": "string",
  "category": "billing | product | support | other",
  "severity": "low | medium | high"
}

The step still returns readable text as well, so a Direct Reply node can show the answer while a Condition node branches on output.structured.severity.

Update Flow State

Writes values into the flow’s shared state after the step runs, so later nodes can read a friendly key instead of a long node reference.

Declare the keys first in the Start node’s Flow State — the Key dropdown then offers exactly those keys. The Value can be fixed text or any variable, including this node’s own output:

KeyValue
summary{{ pebbleChatSkillTaskAgentflow_0.output.structured.summary }}
category{{ pebbleChatSkillTaskAgentflow_0.output.structured.category }}
draftReply{{ pebbleChatSkillTaskAgentflow_0.output.text }}

Referring to earlier steps

Any field that accepts variables understands these references.

ReferenceWhat it resolves to
{{ question }}The input that started the flow — the chat message, or the submitted form values.
{{ pebbleChatSkillTaskAgentflow_0 }}That node’s final answer as text. Replace the ID with the node you mean; the variable picker fills it in for you.
{{ pebbleChatSkillTaskAgentflow_0.output.structured.category }}A single field from that node’s structured output.
{{ $flow.state.category }}A flow-state key, as declared in the Start node and written by any step.

Use flow state when the value has to cross branches or reach a distant, non-adjacent step; use a direct node reference when the next step follows on immediately.

What a PebbleChat Task step returns

ReferenceWhat it is
output.text (also output.content)The step’s final answer as text.
output.structuredThe parsed JSON object when Output Schema is set, otherwise empty.
output.artifactsFiles the step produced — for example output.artifacts.0.userFilePath and output.artifacts.0.name.
output.conversationIdThe conversation the step ran in. Feed this to a later step’s Resume Conversation ID.
output.statuscompleted or failed.
output.diagnosticsWhat actually ran: model, toolNames, skillKeys, and any warnings.

output.diagnostics is the first place to look when a step behaved unexpectedly — it tells you which model served the step and which tools and skills it actually had.

Worked example: feedback triage

A two-step flow that reads a piece of customer feedback, classifies it, then drafts a reply using your support playbook.

1. Start node. Declare the flow-state keys the flow will use, with empty defaults:

KeyInitial value
summary(empty)
category(empty)

2. PebbleChat Task — “Summarise and classify”.

  • Model: Default
  • Task Instruction:
Read the customer feedback below and produce a short factual summary and a
classification. Do not offer an opinion and do not draft a reply.

Feedback:
{{ question }}
  • Advanced Options → Output Schema:
{
  "summary": "string",
  "category": "billing | product | support | other",
  "severity": "low | medium | high"
}
  • Advanced Options → Update Flow State: summary ← {{ pebbleChatSkillTaskAgentflow_0.output.structured.summary }}, category ← {{ pebbleChatSkillTaskAgentflow_0.output.structured.category }}

3. PebbleChat Task — “Draft the reply”.

  • Model: Default
  • Task Instruction:
Draft a reply to a customer whose feedback was classified as
"{{ $flow.state.category }}".

What they told us:
{{ $flow.state.summary }}

Use our support playbook for tone and for any commitments about timing. Keep it
under 150 words, address them directly, and do not promise a refund unless the
playbook says we can.
  • Advanced Options → Context Selection: Manual
  • Advanced Options → Document Stores: Support Playbook
  • Advanced Options → Context Policy: Continue Flow Conversation

4. Direct Reply node. Message: {{ pebbleChatSkillTaskAgentflow_1 }}

The first step is deliberately narrow — classification only, in Auto mode — while the second is Manual and can consult exactly one document store. Both share one conversation, so the whole triage reads as a single thread in the user’s chat history.

Good to know

  • The node does not automatically receive the previous step’s output. It receives the flow’s original input and whatever you reference explicitly. If a step seems to be answering the wrong thing, check that its instruction actually references the step before it.
  • A blank Task Instruction does not stop the step — it just runs without a task. Usually it means a variable resolved to nothing, for example a flow-state key that was never written. Check the Start node declared the key and that an earlier step wrote to it.
  • Long-running steps are bounded. The organisation-wide step budget applies — as does the turn timeout, if your admin has set one — and a step that uses up its budget says so clearly rather than returning an empty answer. See Chat Settings.
  • Everything is observable. Each step appears in PebbleObserve with its model, tokens and cost, attributed to the flow, the run and the node — so you can see which step in a flow is expensive, not just that the flow is.