Flow reference

A flow is the execution process an agent follows. Flows contain skills, state, event subscriptions, and persona configuration. Each agent can have multiple flows, and the platform routes events to the correct flow based on the event subscription configuration.

This page lists all flows in the Newo Agent Framework (NAF) by agent type.


ConvoAgent flows

ConvoAgent is the primary user-facing AI Employee. Its flows handle all user-facing conversation logic, tool execution, RAG, scheduling, and session management.

FlowPurposeTriggering events
CAMainFlowPrimary routing flow. Receives user_message and routes to the correct processing flow based on conversation state.user_message, conversation_started
CAMessageFlowProcesses user messages and generates agent responses. Calls Observer, executes skills, manages conversation history.Routed from CAMainFlow
CAObserverFlowRuns the Observer system — analyzes conversation history, generates directives, injects guidance into the next turn.Triggered per message turn
CANewoToolCallerMonitors for tool call conditions and executes the appropriate tool when triggered.Triggered by Supervisor detection
CAThinkFlowExtended thinking flow for complex multi-step reasoning before responding.Triggered by CAMessageFlow
CARagFlowRetrieves relevant documents from the AKB using semantic or fuzzy search and injects them into the prompt.Triggered before generation
CADataInjectionFlowInjects dynamic data from FetchData() or external sources into the active prompt context.Triggered before generation
CABookingManagementFlowHandles booking lifecycle — check availability, create booking, search, cancel, send confirmation.Triggered by booking tool
CAScheduleFlowManages scheduling logic — working hours validation, timezone conversion, available slot generation.Triggered by scheduling tool
CACalculatorFlowPerforms arithmetic and formula evaluation (e.g., ASR calculations, pricing).Triggered by calculator tool
CABroadcastConversationFlowManages broadcast messaging — sending outbound messages to multiple personas simultaneously.broadcast_analyze_conversation
CAAssessmentFlowEvaluates conversation quality, classifies success, and calculates scoring metrics (OSS, CSS, LSS, ASR).session_ended, call_ended
CAUserManagementFlowHandles actor merging and persona unification across channels.user_management_event
CAExecuteExternalTasksFlowExecutes external tasks delegated via the Magic API or incoming webhooks.magic_api_response
CAActionCallTransferFlowExecutes a live call transfer to a human agent or external number.Triggered by transfer_call_tool
CAActionCallHangUpFlowEnds an active phone call.Triggered by end_conversation_tool
CAActionCallDefineVoiceMailFlowHandles voicemail detection during outbound calls — drops the call or leaves a voicemail.Triggered by voicemail detection
CAEndSessionFlowExecutes end-of-session cleanup: disables follow-up timers, stores session summary, fires session_ended.conversation_ended, call_aborted
CAFollowUpFlowManages follow-up timer execution — sends re-engagement messages when the inactivity timer fires.follow_up_message timer event

GeneralManagerAgent flows

GeneralManagerAgent is the system administration agent. It manages outbound calling, lead lists, and AKB configuration.

FlowPurpose
GMAMainFlowPrimary routing flow for system admin tasks.
GMAOutboundCallerFlowManages the outbound call list — reads lead data, initiates calls via make_call, processes call outcomes.
GMALeadNurtureFlowSchedules and triggers follow-up outreach sequences for leads.

EmailWorker flows

EmailWorker handles email sessions triggered by inbound email events.

FlowPurpose
EmailWorkerMainFlowProcesses inbound email events, generates replies, and sends outbound email responses.

SmsWorker flows

SmsWorker handles SMS sessions independently of ConvoAgent.

FlowPurpose
SmsWorkerMainFlowProcesses inbound SMS events, generates replies, and sends outbound SMS responses.

TaskManager flows

TaskManager coordinates background tasks delegated from ConvoAgent.

FlowPurpose
TaskManagerMainFlowReceives task delegations, executes them, and returns results to the requesting agent.

MagicWorker flows

MagicWorker handles browser automation and external API orchestration tasks.

FlowPurpose
MagicWorkerMainFlowProcesses magic_browser_command and magic_api_command tasks, executes web actions, and returns magic_browser_response / magic_api_response events.

MultiLocationAgent flows

MultiLocationAgent routes conversations to the correct location-specific ConvoAgent instance.

FlowPurpose
MultiLocationMainFlowValidates the user's ZIP code or location input and routes to the matched regional agent.