Skip to content

Mission 4: GPT BLOX

Estimated time: 10 minutes


Learning Objective

Learn how to use the GPT BLOX within a Flow. It functions like an AI Agent but as a BLOX component. You will understand how to connect input and output components to interact with your AI Agent, enabling you to process prompts and view responses efficiently within your workflows.


Prerequisites

Please refer to the Navigation Guide to familiarize yourself with the platform interface.


BLOX Used in This Mission

BLOX Components

BLOX used in this mission
  • Basics/Input - For prompt input
  • Basics/Output - For response display
  • AI/GPT - For AI processing

Step-by-Step Instructions

1. Create a New Flow

In the folder, click on the "Add Item" button.

2. Name Your Flow

Add a new Flow and call it "GPT Flow".

3. Add BLOX Components

Open the Flow and add:

  • "GPT" BLOX

  • "Input" BLOX

  • "Output" BLOX

4. Configure the BLOX

  1. Give the "Input" BLOX a name
  2. Give the "Output" BLOX a name
  3. In the "Input" BLOX settings, write a prompt as "Test Data"

Example prompt:

What are the benefits of AI automation in business?

5. Connect the BLOX

Connect the three BLOX as shown in the picture below: - Input → GPT - GPT → Output

Connected BLOX

Connected BLOX components

6. Test the Flow

  1. Click the play button on the "Input" BLOX to start the Flow
  2. View the AI-generated response in the "Output" BLOX

7. Connect GPT to Your AI Agent Database

The GPT BLOX can be configured to use your saved AI Agent's document database:

  1. Click on the "GPT" BLOX to open its settings
  2. Navigate to "Document Database" section
  3. Select your AI agent from the dropdown
  4. The GPT will now answer questions based on documents saved in your AI agent

Configure Document Database

Configure GPT BLOX to use AI agent's document database

8. Test with Document-Specific Questions

Now test the GPT with questions related to your uploaded documents:

  1. In the "Input" BLOX, set "Test Data" to:
    describe TitanSmart platform
    
  2. Click the play button to run the Flow
  3. View the document-specific answer in the "Output" BLOX

How the GPT BLOX Works

  1. Input Prompt - The Input BLOX sends a text prompt to the GPT BLOX
  2. AI Processing - The GPT BLOX processes the prompt using the AI Agent
  3. Generate Response - AI generates a contextual response
  4. Output Display - The Output BLOX displays the response

Benefits of GPT BLOX

  • Workflow Integration - Use AI directly within your automated processes
  • Flexible Processing - Process any text input through AI
  • Real-Time Responses - Get instant AI-generated answers
  • Chainable Operations - Connect with other BLOX for complex workflows

Summary

You've successfully learned how to:

✓ Create Flows with GPT BLOX

✓ Test AI responses within workflows

✓ Query document-specific knowledge using GPT BLOX


Congratulations!

You've completed all missions in Module 2: AI Agents. You now have the skills to create, train, and deploy AI Agents both as standalone tools and integrated within automated workflows.

Well done! Now let's move on to the next module!