Skip to main content
Esc
Browse docs

AI agents for workflows

How to create an AI agent with instructions and CRM tools in the Slovio AI Agents hub, test it with Execute, and run it as a step in a workflow.

4 min readUpdated

An AI agent in the AI Agents hub does work in the background as a step in a workflow, such as qualifying a lead, updating the CRM or drafting a follow-up. Create one under AI Agents → Create Agent, test it with Execute, then add the AI Agent action to a workflow. To chat with customers on a channel, use a chatbot with the AI Conversation block instead.

Create an agent

  1. In the sidebar, select AI Agents. The hub has the tabs AI Agents, Skills and Knowledge Base.

  2. Select Create Agent. The Create New Agent dialog has three steps.

    AI Agents hub with the AI Agents, Skills and Knowledge Base tabs, one sales assistant agent card with Execute and View, and the Create Agent button highlighted

  3. Basic Info: Agent Name, Agent Type, Description and AI Model.

  4. Instructions:

    • System Instructions: what the agent does and how, up to 10,000 characters.
    • Temperature: 0 = focused, 1 = creative. Default 0.7. Keep it low for data work.
    • Max Tokens: the longest reply allowed. Default 2000.
  5. Tools & Settings: pick what the agent may do, or select Sales CRM preset.

  6. Create the agent.

Which Agent Type to choose

The Agent Type list offers CRM Agent (the default), Workflow, Chatbot, Voice Agent, Broadcast and Template.

Every type runs the same way: from the workflow AI Agent action, using your instructions and tools. The type is a label that helps you organise your agents. Picking Chatbot or Voice Agent does not connect the agent to a chatbot or a voice agent.

Choosing CRM Agent with no tools selected applies the Sales CRM preset for you. The type cannot be changed after the agent is created.

Choose tools

Tool What it lets the agent do
Send Message Send a message to the contact
Create Contact, Update Contact, Search Contacts, Get Contact Work with contacts
Create Task Create a task and reminder for the contact
Save Memory, Recall Memory Remember facts between runs
Set Reminder Set a reminder
Get Opportunity, Search Opportunities, Create Opportunity, Update Opportunity, List Opportunity Stages Work with deals
Get Company Look up a company

Sales CRM preset selects Get Contact, Search Contacts, Update Contact, Create Task, Recall Memory and the opportunity and company tools. Give an agent only the tools it needs.

Test an agent

On the agent's card, select Execute. In Execute Agent, type a Message and select Execute to see the response.

Select View on the card to open its details. Overview shows Executions, Tokens, Cost and Avg latency for the last 50 runs. The Executions tab lists each run. To change the agent, open the menu → Edit. There you can also untick Active to switch it off.

Run it from a workflow

  1. Open your workflow and add the AI Agent action.
  2. In the Agent field, enter the agent's ID. The field does not list your agents, so copy the ID from the agent's detail page address.
  3. Fill in the Prompt. This is the message the agent receives, for example "Qualify this lead: {{lead_name}}, budget {{budget}}".

Worked example: qualify Facebook leads

Saxena Interiors, Noida, gets leads from Facebook ads.

  1. Create Agent: Agent Name "Lead qualifier", Agent Type CRM Agent, Sales CRM preset.
  2. System Instructions: "Score the lead 1 to 10 on budget (above ₹5 lakh scores high), timeline (within 3 months scores high) and locality (Noida, Greater Noida). Update the contact's stage to Qualified if the score is 7 or more, and create a call task for tomorrow 11 am."
  3. Temperature 0.2.
  4. Workflow: Facebook Leads trigger → AI Agent (this agent) → Condition (If / Else) on the score → Send WhatsApp Template with the brochure.

Result: a lead with a ₹8 lakh budget moving in next month is marked Qualified, gets a call task, and receives the brochure on WhatsApp within a minute.

Common questions

Can an AI agent reply to customers in my chatbot?

No. Agents in the AI Agents hub run from workflows. For chat replies, use the AI Conversation block in a chatbot.

Does the Voice Agent type answer phone calls?

No. The type is a label. Build phone agents under Calling → Voice Agents.

Can I change an agent's type later?

No. The edit dialog does not include Agent Type. Create a new agent if you need a different type.

How do I switch an agent off without deleting it?

Open it → Edit and untick Active.

Stuck, or is something here out of date? Tell the team — we reply within a working day.