Build Your First Workflow
Let's build your first AI workflow in just a few minutes!
Build Your First Workflow ๐
- Ready to see Scout in action? Let's build your first AI workflow โ a creative story generator that turns any prompt into an engaging tale. You'll experience the magic of Scout's drag-and-drop interface while creating something genuinely fun!
๐ฏ What We're Building
- An AI-powered story generator that takes your ideas and crafts them into creative stories. Give it a prompt like "a robot who loves gardening" and watch it create a unique tale every time!
What you'll learn:
- How workflows and blocks connect
- Key LLM settings: temperature, token limits, and system messages
- Testing and iterating on your creations
๐ Step-by-Step: Your Story Generator
Step 1: Create Your Workflow
- Sign up for Scout (if you haven't already)
- Navigate to Workflows in the main menu
- Click "+ New Workflow"
- Name it "AI Story Generator"
Step 2: Understand Your Input Block
- Your workflow starts with an Input Block that's already configured with a
message
field. This is where users will enter their story prompts, no changes needed! Scout workflows always begin with this input foundation.
Step 3: Add an LLM Block
- Click the "+" button to add a new block
- Select "LLM Block" from the menu
- Connect it to your Input Block by dragging the connector
- Now let's configure the magic...
Step 4: Configure Your Story Generator
- System Message: Your AI's Personality
- The system message tells your AI how to behave. In the Messages section select System and enter a prompt:
Write a creative and engaging short story based on this idea: {{inputs.message}}
The {{inputs.message}}
pulls in whatever the user typed as their story prompt.
Temperature: Control Creativity ๐ก๏ธ
- What it does: Controls how creative vs. predictable your AI responses are
- Range: 0 (very predictable) to 1 (very creative)
- For stories: Try
0.8
for creative, varied storytelling - Experiment: Lower for consistent style, higher for more creativity
Token Limit: Story Length ๐
- What it does: Controls how long your generated stories will be
- Rough guide: ~4 characters = 1 token, so 500 tokens โ 125 words
- For short stories: Try
800
tokens (โ200 words) - For longer tales: Try
1500
tokens (โ375 words)
Step 5: Test Your Story Generator
- Click "Run Workflow" in the top right
- Enter a creative prompt like:
- "A dragon who's afraid of flying"
- "A time traveler stuck in a coffee shop"
- "A superhero whose power is making perfect sandwiches"
- Watch your AI craft a unique story!
Step 6: Experiment and Iterate ๐งช
- Try adjusting your settings:
- More creative stories: Increase temperature to
1
- Shorter stories: Reduce tokens to
400
- Different genres: Update your system message to specify "science fiction" or "fairy tales"
- More creative stories: Increase temperature to
๐ง What Just Happened?
- Input Block: Captured your story idea
- System Message: Gave your AI a storyteller personality
- Temperature: Made responses creative and varied
- Token Limit: Controlled story length
- Prompt Template: Used
{{inputs.message}}
to incorporate user input
๐ Congratulations!
You've built a functional AI application that can generate infinite unique stories! You've experienced the core of Scout: connecting blocks with drag-and-drop simplicity while having fine-grained control over AI behavior.