Set Up Workflows

Workflows allow you to automate multi-step prompts, making complex interactions more structured and efficient. Unlike Agents, which function as single-prompt shortcuts, Workflows guide the AI through a sequence of prompts to ensure a more accurate and refined final response.

You can enhance each step by activating web search capabilities, adding external integrations via API (e.g., HTTP requests), or scheduling workflows to run automatically. These upgrades make workflows even more powerful for tasks like continuous monitoring, report generation, and real-time research.

When asking for too much in a single prompt, the AI may struggle to process and provide precise answers. Workflows break down complex queries into manageable steps, improving accuracy and relevance at each stage.

Why use Workflows?

  • Improved Accuracy: The AI delivers more precise responses when given structured, step-by-step prompts.

  • Better Context Retention: Each step builds on previous answers, leading to a more cohesive final result.

  • Scalability: Automate repetitive, multi-step tasks to save time and improve efficiency.

  • Live Web Search (New!): Enable real-time web search in specific steps to pull the latest, most relevant information directly from the internet.

  • API Integrations (New!): Connect external systems and tools using HTTP requests in any workflow step, allowing you to fetch, send, or enrich data programmatically.

  • Scheduling & Auto-Delivery (New!): Run workflows on a recurring schedule and receive results via email—perfect for ongoing research, updates, or reporting tasks.


How to Use Workflows

Creating a Workflow

1. Starting with a New Workflow

When you first access the workflow page, it will appear empty, indicating that there are no workflows set up yet. To create a new workflow, follow these steps:

  • Step 1: Create a New Workflow

    • Look for the "+ New Workflow" button. This button can be found in two places:

      • In the center of the screen, at the bottom of the page.

      • On the left sidebar, under the Workflow section.

  • Clicking this button will trigger the creation of a new workflow, and you will see a new card appear on the screen with the details of your first workflow step.

2. Workflow Execution Settings

At the bottom of the workflow area, you will find two key settings that control how the workflow behaves:

  • Execution Mode:

    • Human in the Loop: This mode requires the user to manually click a button to move to the next step after each one completes. This gives you control to review each step before proceeding.

    • Autopilot: In this mode, the workflow will automatically move from one step to the next without any manual input. This is ideal when you want the process to run automatically.

  • Workflow Trigger:

    • Manual: When set to manual, the workflow will only start when the user triggers it manually (by clicking a "play" button).

    • Automatic: In automatic mode, the workflow will begin as soon as certain actions occur, such as when a file is uploaded or when a message is received in the chat.

3. Saving or Cancelling the Workflow

Once you have configured the workflow to your liking, you can choose to either Save or Cancel your changes:

  • Save: Click the Save button to save the workflow you’ve just created or modified.

  • Cancel: If you wish to discard any changes and not save the workflow, click Cancel.

Editing the Workflow Card

1. Editing the Workflow Card Name

  • Name: The name of the step is typically descriptive of the task you want the AI to perform. For example, it could be something like "Step 1: Analyze", "Step 1: Gather Information", or "List down key points". This helps you quickly identify the purpose of that particular step in your workflow.

2. Step Type Selection

The Step Type field determines what kind of task this card will execute. There are several options, but for now, let’s focus on the most common one: Prompt.

  • Prompt: This step type allows you to provide a detailed instruction to the AI. The AI will use this instruction to carry out the task.

Other step types might include Integration and Variable, but these require different configurations. For this tutorial, we’ll focus on the Prompt type, which is the most commonly used when working with AI models.

3. Selecting the AI Model

  • Model: After selecting Prompt as the step type, you will need to choose a Model.

    • The model is essential because different AI models are better suited for specific types of tasks. For example, some models may excel at creative writing, while others are optimized for data analysis or technical tasks.

    • In this section, you’ll see a list of available models. For example, GPT 4 Omni is listed here, but you can select any other model that fits your task.

4. Writing the Instruction

  • Instruction: This is where you detail the task for the AI. It’s important to be as specific and clear as possible so the AI knows exactly what to do.

    • For example: “Please analyze the provided content thoroughly and transform it into a professional, well-organized document. Ensure that the text is clear, concise, and structured logically, with smooth transitions between ideas. Your task is to refine the language to maintain a formal tone that is appropriate for a business audience, using precise and authoritative language throughout. If any concepts or details are unclear, expand on them with relevant information or data to ensure full clarity. The final version should be suitable for internal reports, presentations, or formal communication with stakeholders.”

    • The clearer and more detailed your instruction, the more accurately the AI will be able to execute the task.

5. Web Research Option

  • Web Research: This toggle allows the AI to search the internet for relevant information to assist in completing the task.

    • If you enable this toggle, the AI will gather data from the web, which can be useful when the AI needs up-to-date or specific information that may not be readily available in the data room (the conversation thread).

    • If you don’t need web data, simply leave this toggle off.

6. Data Room Selection

  • Data Room: The Data Room is where the AI pulls information from to generate the result for this step.

    • What is a Data Room? It refers to the conversation thread that has been built so far. This includes the context and data exchanged in the current session. In other words, it’s the accumulated information and dialogue that the AI will use to produce the output for this specific task.

    • The data room ensures that the AI has access to all relevant information from previous steps or messages in the workflow.

Key Features Recap:

  1. Name: Descriptive title for the task.

  2. Step Type: Choose Prompt for tasks requiring instructions to the AI.

  3. Model: Select the AI model that is most suited for the task.

  4. Instruction: Provide detailed guidance for the AI on what to do.

  5. Web Research: Toggle on if you want the AI to search the internet for additional data.

  6. Data Room: Use the conversation thread (data room) as context for the task.

By following these instructions, you can effectively customize and configure each card in your workflow to meet your specific needs.


Advanced Setup

Adding Integrations

You can integrate external APIs directly into a specific step of your Workflow. This allows your Workflow to fetch, post, or interact with live data from external tools or platforms.

1. Change Step Type to “Integration”

In the Workflow card, change the Step Type from Prompt to Integration. This unlocks additional configuration options for connecting to external APIs.

2. Add API URL

The API URL is the endpoint you want to connect to. This is typically provided by the external service you’re integrating with.

  • Example: https://api.example.com/v1/company-profile

3. Choose HTTP Method

Select how the Workflow should interact with the API. You can choose from common HTTP methods:

  • GET – Retrieve data

  • POST – Send new data

  • PATCH – Partially update data

  • PUT – Fully update or replace data

  • DELETE – Remove data

Choose the method that matches the API action you need.

4. Configure HTTP Settings

Click the HTTP Settings button to open the setup panel. You’ll need to choose the appropriate Authentication Type depending on the API you're using:

🔐 Authentication Options:

  • None. No authentication required

    • You can optionally configure:

      • Headers (e.g., content-type)

      • Query Parameters

      • Request Body (in JSON format)

  • Basic Auth. Enter a Username and Password for authentication

    • Additional fields: Headers, Query Parameters, Request Body

  • Bearer Token. Enter your Token for secure access

    • Additional fields: Headers, Query Parameters, Request Body

These settings let you pass extra information the API might require (e.g., authentication credentials, filters, data payloads, etc.).

5. Select a Data Room

Choose the Data Room where this Integration step will be executed and its results stored. Think of this like the chatroom context in ChatGPT—it helps the AI understand the environment for this task.

6. Set Run Mode

Choose how this step will be triggered:

  • Human in the Loop – Manual review required before moving to the next step.

  • Autopilot – Runs automatically as part of the Workflow.


Scheduling Workflows

Workflows can now be scheduled to run automatically at specific times and frequencies—perfect for recurring tasks like daily reports, market scans, or product updates.

1. Open the Workflow Menu

From your list of workflows, find the workflow you want to schedule. In this example, we’ll use “Company Analysis.”

2. Access the Scheduling Option

Click the three-dot menu (•••) beside the workflow name, then select “Workflow Scheduling.”

3. Set Up the Schedule

  • A window will appear with scheduling fields:

    • Start Date: Choose when the workflow should begin.

    • Time: Set the specific time of day the workflow will run.

    • Repeat: Select if you want the workflow to repeat (e.g., daily, weekly, monthly).

    • Notifications: You may choose to receive an email every time this workflow executes.


Sample Use Cases

Below are some practical ways to integrate workflows:

  1. Crafting a Brand Analysis – A structured workflow can automate a deep dive into a company’s positioning. Start by analyzing industry trends, then gather competitive insights, and finally perform an internal assessment of services and overall performance. This approach ensures a well-researched and strategic brand analysis.

  2. Setting Up Continuous Market Monitoring – Stay up to date on rapidly evolving topics like AI advancements or economic trends. You can now create a workflow that performs weekly web searches on a topic (e.g., “latest LLM model releases”) and summarizes them. Schedule it to run every Monday and send results directly to your email for convenient tracking.

  3. Enriching Reports with API Integrations – Use integrations to fetch external data (e.g., product pricing, financial stats, or competitor feeds) directly into your workflow. For example, Step 1 could use an integration step to query an external pricing API, and Step 2 could summarize and contextualize that data using the AI model. This is especially useful for dashboards or real-time reporting.


Best Practices

To maximize the effectiveness of your workflows, it's essential to design them with clarity, continuity, and precision in mind. Follow these best practices to ensure smooth execution and optimal AI performance:

  1. Break down complex prompts: Focus on one specific query per step.

  2. Ensure continuity: Each prompt should build on previous responses.

  3. Be clear and specific: Define non-negotiable "need-to-know" information.

  4. Use concise, structured prompts: Avoid vague or overly broad instructions.

  5. Provide context: Give background information when necessary.

  6. Customize the LLM model: Select the best model for each task to enhance output quality.

  7. Use Data Rooms to Organize: Try organizing workflow responses into different datarooms

  8. Leverage Workflow Scheduling: Have weekly scans, or automate repetitive workflows

FAQs

  1. How do I trigger a Workflow?

    • You can start a Workflow manually from the Workflow tab or integrate it into other automated processes for seamless execution.

  2. Can I share Workflows with my team?

    • Anyone with access to the Knowledge Bot can also access the Workflows created within that bot.

  3. Why isn’t my Workflow giving accurate results?

    • Ensure each step is specific and clear, avoid overly complex prompts in a single step, and test different step sequences to optimize results.

Last updated