Overview

This template solves the headache of manually managing AI conversation modes by automating the decision to invoke either a search-enabled agent or a baseline dialogue agent. It streamlines workflow logic to dynamically route user queries based on front-end inputs, saving time and reducing errors while enabling advanced knowledge integration when needed.

The Impact

  • Slash manual routing. Automatically selects AI mode based on user preferences and context.
  • Boost response relevance. Enables dynamic web search integration for up-to-date answers.
  • Cut development overhead. Agent nodes handle tool invocations without coding complex logic.
  • Scale with ease. Supports future extensions like private knowledge bases and multi-tool workflows.

Who This Is For

  • Product Managers who require flexible AI workflows for diverse user queries.
  • AI Developers building conversational agents needing seamless tool integration.
  • Support Teams aiming to automate knowledge retrieval and FAQ handling.
  • Business Analysts who want to embed company context and private data dynamically.

How It Works

1
  1. Start Node Captures Inputs
  2. Receives user query plus front-end variables: Search (boolean) and Model (string) to guide the workflow.
2
  1. Conditional Branching Logic
  2. Checks Search variable: if true, routes to Search-Capable Agent; if false, routes to Baseline Agent.
3
  1. Search-Capable Agent Execution
  2. Uses ReAct framework to autonomously decide when to invoke search tools, integrate results, and refine responses.
4
  1. Baseline Agent Execution
  2. Handles direct Q&A with no external search, optimizing for quick, lightweight interactions.
5
  1. Output Delivery
  2. Each agent sends its response to the corresponding reply node, delivering the final answer seamlessly.

What You'll Need

Before using this template, make sure you have:

  • Access to GoInsight Workspace with the ability to edit and publish workflows.
  • Frontend interface with toggles for "Allow Web Search (Search)" and "AI Model Selector (Model)" to pass variables.
  • Configured credentials and permissions for any integrated search tools (e.g., Google Search API) if search is enabled.
  • Familiarity with workflow publishing to save and activate changes after editing.

How to Use

  1. Step 1. Configure Frontend Selectors
  2. Set up interface controls to allow users to enable/disable web search and select AI models, passing these as variables into the workflow.

  3. Step 2. Edit Workflow Logic (Optional)
  4. Adjust the conditional branching or agent parameters to fit specific business needs, like adding company context or private knowledge integration.

  5. Step 3. Save and Publish
  6. After any changes, save and publish the workflow to activate updates; otherwise, changes remain in draft mode.

  7. Step 4. Test Conversation Starts
  8. Initiate dialogues with varying Search toggle settings to verify the correct agent is invoked and responses are accurate.

  9. Step 5. Monitor and Refine
  10. Review interaction logs and user feedback to fine-tune prompt templates and agent configurations for optimal performance.

FAQs

How does the workflow decide which AI agent to use?
It uses the "Search" boolean variable from the frontend; if true, it invokes the Search-Capable Agent, otherwise the Baseline Agent.
What advantages do Agent Nodes provide over basic LLM nodes?
Agent Nodes encapsulate tool invocation logic, autonomously handling search calls, result integration, and response refinement without manual workflow coding.
Can this workflow be customized to include private company knowledge?
Yes, you can extend the workflow logic and agent capabilities to incorporate Retrieval-Augmented Generation (RAG) with your private knowledge base.
What happens if I forget to publish after editing the workflow?
Changes will remain saved as a draft and won’t affect active conversations until you explicitly save and publish the workflow.
Was This Page Helpful?

More Workflows for Inspiration

✒️
YouTube Podcast Summary and Save to Sheets
Automate podcast transcript capture, summary generation, and archiving to Google Sheets instantly.
Learn more >
🔍
WordPress Post AI Auto-Categorizer
Automatically assign primary categories to WordPress posts using AI, saving time and ensuring consistency.
Learn more >
⚙️
WordPress Rank Math SEO Metadata Updater
Automate Rank Math SEO metadata updates on WordPress to save time and ensure accuracy.
Learn more >