Ask AI and Agent Studio Integration
Connecting Ask AI and Agent Studio
Combine the conversational intelligence of the Ask AI assistant with the powerful automation capabilities of Agent Studio. This integration allows you to route user questions directly to custom-built AI agents, enabling complex, multi-step actions to be performed automatically within a chat conversation.
How the Integration Works
When you connect an agent from Agent Studio to Ask AI, the assistant can intelligently decide when to pass a user's request to that specialized agent. The agent executes its workflow and returns the results directly within the same chat thread, creating a seamless experience for the user.
Key Benefits
- Unified Experience: Trigger sophisticated automations without leaving the Ask AI chat interface.
- Smart Routing: Ask AI automatically selects the most appropriate agent based on the capabilities you describe for each one.
- Flexible Data Handling: Agents can prompt users for missing information during execution or use predefined values.
- Rapid Execution: Launch multi-step workflows—such as sending emails, generating images, or performing lookups—with a simple chat command.
- Expandable Capabilities: Incorporate web searches, API calls, and other tools into your agents for powerful combined functionality.
Mapping Agents to Ask AI
To connect an Agent Studio agent to Ask AI, you define which types of requests should be handled by that agent. This mapping process eliminates the need for users to learn specific command syntax—they can simply ask a question in natural language, and the system will route it to the appropriate agent.
To map an agent:
- Navigate to Settings, then select Ask AI, and choose Agent Mapping
- Click "Map Agent" and select the Agent Studio agent you want to connect
- Provide a clear description of the agent's capabilities in plain language
- Configure how the agent should handle any required variables
- Save your configuration
Configuring Agent Variables
When setting up your integration, you can define how each variable in your Agent Studio workflow should be handled. For every variable, you can choose to:
- Set a fixed default value
- Mark it to "Ask at runtime," which will prompt Ask AI to collect the necessary information from the user before the agent runs
This flexible approach ensures your agents have the precise data they need while maintaining a natural conversation flow.
Building Agents for Ask AI Integration
When creating agents in Agent Studio that you plan to use with Ask AI, you can incorporate various node types to build sophisticated workflows:
- Tool Nodes: Connect to external services like web search, APIs, or knowledge bases
- Generative Nodes: Use AI prompts to create content, summaries, or images
- Capture Nodes: Collect structured inputs from users for use in subsequent steps
Testing Your Integration
After mapping an agent, test the integration by typing a relevant request in the Ask AI chat. You should see a message indicating that the agent is running, followed by the results of the workflow execution.
Frequently Asked Questions
What subscription is required for this integration?
Both Ask AI and Agent Studio require the Unlimited AI Employee plan.
Can I connect multiple agents to Ask AI?
Yes, you can map multiple agents. Ask AI will evaluate each agent's description to determine the best match for a given user request.
What happens if no agent matches a user's question?
Ask AI will respond using its standard built-in capabilities.
Which version of my agent does Ask AI use?
Ask AI only uses agents that have been published to the "Production" stage.
Can I update an agent after it's been mapped?
Yes. Make your changes in the Staging environment, then promote the updated version to Production. The integration will automatically use the new version without requiring remapping.