Engati - User Guide
...
1. Getting Started
How Agents Works
3 min
a agent talks with users through messages and gives responses using ai when a user sends a message, the agent understands the request and generates a reply sometimes the agent may also fetch data using workflows or apis %%{init {'theme' 'base', 'themevariables' { 'primarycolor' '#ffe5e5', 'primarybordercolor' '#d97b7b', 'primarytextcolor' '#333333', 'linecolor' '#d97b7b', 'arrowheadcolor' '#d97b7b', 'background' '#fff5f5', 'edgelabelbackground' '#fff5f5' }}}%% graph lr a\[user message] > b\[agent] b > c\[workflow] c input attributes > d\[path] d output attributes > e\[agent] e > f\[response] explanation user message – the user asks a question agent – receives the message and processes it system prompt – tells the agent how it should behave and respond workflow (optional) – used when the agent needs to fetch or save data path / api – retrieves information from external systems response – the agent sends the final answer to the user note if the information is small or fixed , it can be added directly in the system prompt if the agent needs to fetch external data (apis, database, search results) , then workflows and paths should be used example if a user asks to book a doctor appointment the agent understands the request it triggers a workflow to fetch available doctors the system returns doctor details and available slots the agent shows the available appointment times to the user
