MindStudio Docs
  • Get Started
    • Overview
    • MindStudio Chrome Extension
    • Quickstart Guide
    • What is an AI Agent?
    • AI Agent Use Cases
  • Free vs. Paid AI Agents
  • Building AI Agents
    • Editor Overview
    • Workflow Generator
    • Writing Prompts
      • Templating
    • AI Models
    • Variables
      • Working with JSON
      • Using Handlebars Templating
    • Dynamic Variables
    • Data Sources
    • Automations
      • Start Block
      • Generate Text Block
      • Generate Image Block
      • Generate Chart Block
      • Generate Asset Block
      • Display Content Block
      • Text to Speech Block
      • Analyze Image Block
      • User Input Block
      • User Context Block
      • Query Data Block
      • Run Function Block
      • Scrape URL Block
      • Extract Text from File Block
      • Post to Slack Block
      • Menu Block
      • Logic Block
      • Checkpoint Block
      • Jump Block
      • Run Workflow Block
      • Terminator Block
    • Integrations
      • Search Bluesky Posts
      • Scrape Facebook Page
      • Scrape Meta Threads Profile
      • Scrape Instagram Comments
      • Scrape Instagram Mentions
      • Scrape Instagram Posts
      • Scrape Instagram Profile
      • Scrape Instagram Reels
      • Create LinkedIn Post
      • Create X Post
      • Search X Posts
      • Search Google
      • Search Google Images
      • Search Google Trends
      • Search Google News
      • Create Google Doc
      • Fetch Google Doc
      • Update Google Doc
      • Create Google Sheet
      • Fetch Google Sheet
      • Update Google Sheet
      • Enrich Company via Domain
      • Find Contact Email for Website
      • Find Email
      • Verify Email
      • Enrich Person via Email
      • Fetch YouTube Captions
      • Fetch YouTube Channel
      • Fetch YouTube Comments
      • Fetch YouTube Video
      • Search YouTube
      • Search YouTube Trends
      • Create Notion Page
      • Update Notion Page
      • Apify
      • Run Scenario
      • Post to Slack
      • HTTP Request
      • Run Node
      • Create Contact
      • Add Note
      • Send Email
      • Send SMS
    • Publishing & Versioning
  • Embedding AI Agents
  • Using Webhooks
  • Workspace Management
    • Workspace Overview
    • Workspace Settings
    • Usage Explorer
    • Billing Settings
    • Account Settings
    • Team Settings & Access Controls
  • Test & Evaluate
    • Testing Suite Overview
    • Evaluations
    • Profiler
    • Debugger
  • Integration Guides
    • Zapier + MindStudio
    • Make.com + MindStudio
    • n8n + MindStudio
  • Developers
    • API Reference
    • NPM Package
    • Custom Workflow Functions
  • Additional Resources
    • Glossary
    • Allowing Access to Mindstudio From Your Network
  • Solutions
    • MindStudio Solutions Partners
    • MindStudio For Developers
    • MindStudio for Enterprises
Powered by GitBook
On this page
  • Configurations
  • Chat
  • End Session
Export as PDF
  1. Building AI Agents
  2. Automations

Terminator Block

End the workflow with multiple end behaviors

Last updated 8 days ago

The Terminator Block marks the endpoint of a workflow. It offers multiple behaviors to customize the user’s experience or finalize the workflow’s output. End behaviors define how workflow concludes, whether through interaction, document processing, or returning structured data.

Configurations

Choose one of the following behaviors to define how the workflow ends:

Chat

Provides a frontend native chat experience, ideal for conversational workflows.

System Introduction (Optional):

An introductory message displayed at the start of the chat session. This is for display purposes only and is not included in the AI prompt.

Message Processing Strategy:

Choose how user inputs are processed before being sent to the AI. Options include no processing or custom strategies.

No processing: Does not pre-process the message in any way.

Retrieval-Augmented Generation (RAG): Incorporates external context from into the AI’s responses. Enabling this strategy opens the following configurations:

  • Data Source: Select or create a Data Source to provide the AI with additional context.

  • Max Results: Set the maximum number of relevant results retrieved from the Data Source.

  • Template: Define how retrieved context is combined with the user’s input.

    • {{queryResult}}: refers to the result of the Data Source query

    • {{originalMessage}}: refers to the message sent by the end user in the chat

Other Settings:

  • Model Mixer: Allow users to use multiple LLM models during the chat. For example, a user can send a message and use model mixer to get a response from both Claude 3 Opus and GPT-4o.


End Session

Finalizes the workflow and returns output values to the calling function or user.

Return Data:

Notifications:

  • Email: Enable email notifications when the workflow ends.

    • When enabled, click on + Add to enter the emails you’d like the notification sent to.

  • Slack: Configure Slack notifications for workflow completion.

    • Click Add to Slack to authenticate and link your Slack account.

    • Once connected, select the desired channel from your Slack workspace you’d like the notification sent to.

JSON Output: Define the final data to return using JSON format. Create key value pairs and use {{variables}} for .

Data Sources
dynamic content