Skip to content

Quickstart Tutorial

This tutorial will guide you through creating your first AI workflow in Raikoo. By the end, you'll have built a simple but powerful workflow that demonstrates key Raikoo concepts and capabilities.

What We'll Build

We'll create a "Content Enhancer" workflow that takes a basic text input, enhances it using AI, and returns the improved version. This workflow will:

  1. Accept a text input through a parameter
  2. Analyze the content's structure and tone
  3. Generate an enhanced version with improved language and formatting
  4. Provide the enhanced content as the output

This example demonstrates several key Raikoo features while remaining simple enough for beginners.

Prerequisites

Before starting, ensure you have:

  • A Raikoo account (sign up at app.raikoo.ai if you don't have one)
  • Basic familiarity with the Raikoo interface (see our Getting Started guide)

Step 1: Create a New Project

  1. Log in to your Raikoo account
  2. From the Dashboard, click the "New Project" button
  3. Enter the following details:
  4. Name: Content Enhancement Project
  5. Description: A project for enhancing and improving text content
  6. Click "Create Project" to proceed

Step 2: Create a New Workflow

  1. Navigate to your new project
  2. Click "Workflow Builder" in the main navigation
  3. Click the "New Workflow" button
  4. Enter the following details:
  5. Name: Content Enhancer
  6. Description: Analyzes and enhances text content
  7. Click "Create" to open the Workflow Builder canvas

Step 3: Configure Workflow Parameters

Let's set up a parameter to accept the input text:

  1. Click on the canvas background to select the workflow itself
  2. In the Properties Panel, navigate to the "Parameters" section
  3. Click "Add Parameter" and enter:
  4. Name: InputText
  5. Type: String
  6. Default Value: leave empty
  7. Description: The text content to enhance

Step 4: Add the Analysis Operation

First, we'll add an operation to analyze the input text:

  1. From the Operations Panel, find and drag the "Multi-step Assistant" operation onto the canvas
  2. Select the operation and configure it in the Properties Panel:
  3. Name: ContentAnalysis
  4. Persona: Select "Content Analyst" (or create a new one if not available)
  5. Request: Enter the following prompt:
    Analyze the following text content to identify its structure, tone, style, and primary purpose.
    Provide a brief analysis that identifies:
    - The apparent purpose of the text
    - Its current tone and style
    - Any structural patterns
    - Areas for potential improvement
    
    TEXT TO ANALYZE:
    {{ThreadParameters.InputText}}
    
  6. Output: Set to create a file at /analysis.md

Step 5: Add the Enhancement Operation

Now, let's add an operation that uses the analysis to create enhanced content:

  1. Drag another "Multi-step Assistant" operation onto the canvas
  2. Position it to the right of the ContentAnalysis operation
  3. Configure it with:
  4. Name: ContentEnhancement
  5. Persona: Select "Content Editor" (or create a new one)
  6. Request: Enter the following prompt:
    Using the analysis provided, enhance the original text to improve its clarity, impact, and overall quality.
    Maintain the original purpose and key information, but improve:
    - Language fluency and precision
    - Structural organization
    - Tone consistency
    - Overall impact and effectiveness
    
    ORIGINAL TEXT:
    {{ThreadParameters.InputText}}
    
    CONTENT ANALYSIS:
    {{Workspace.[/analysis.md]}}
    
    Provide only the enhanced text without additional comments.
    
  7. Output: Set to create a file at /enhanced-content.md

Step 6: Create a Dependency Between Operations

  1. Click on the ContentEnhancement operation to select it
  2. In the Properties Panel, find the "Dependencies" section
  3. Add "ContentAnalysis" as a dependency
  4. Alternatively, you can click and drag from the output connector of ContentAnalysis to the input connector of ContentEnhancement

Step 7: Add a Final Formatting Operation

Let's add one more operation to ensure the output is properly formatted:

  1. Drag another "Multi-step Assistant" operation onto the canvas
  2. Position it to the right of the ContentEnhancement operation
  3. Configure it with:
  4. Name: FinalFormatting
  5. Persona: Select "Technical Editor" (or create a new one)
  6. Request: Enter the following prompt:
    Format the enhanced content below to ensure:
    - Consistent paragraph spacing
    - Proper heading hierarchy (if applicable)
    - Clean list formatting (if applicable)
    - Consistent punctuation style
    - No spelling errors
    
    ENHANCED CONTENT:
    {{Workspace.[/enhanced-content.md]}}
    
    Provide only the formatted text with no additional comments.
    
  7. Output: Set to create a file at /final-output.md
  8. Add "ContentEnhancement" as a dependency for this operation

Step 8: Save Your Workflow

  1. Click the "Save" button in the toolbar
  2. Enter a comment such as "Initial workflow setup"
  3. Click "Save" to commit your changes

Step 9: Execute the Workflow

Now let's run the workflow to see it in action:

  1. Click the "Execute" button in the Workflow Builder toolbar
  2. In the execution panel, enter a sample text in the "InputText" parameter, such as:
    this is a sample text for our workflow. it has some issues with capitalization and structure. the content could be clearer and more engaging. hopefully our AI workflow can improve it!
    
  3. Click "Run" to start the workflow execution
  4. You can monitor the progress in real-time as each operation executes

Step 10: Review the Results

Once the workflow completes:

  1. Click on the "Workspace" tab in the execution view
  2. Open each file to see the progression:
  3. /analysis.md - The analysis of the original text
  4. /enhanced-content.md - The AI-enhanced version
  5. /final-output.md - The final formatted output
  6. You can download the final output or any other files as needed

Step 11: Make Improvements (Optional)

If you want to iterate on your workflow:

  1. Return to the Workflow Builder
  2. Try adjusting the prompts or adding more operations
  3. Experiment with different personas for each operation
  4. Add error handling or conditional logic
  5. Save your changes and run the workflow again to see the impact

What You've Learned

In this quickstart tutorial, you've:

  • Created a new project and workflow
  • Set up a workflow parameter to accept input
  • Added multiple AI operations with different personas
  • Created dependencies between operations
  • Executed a workflow and reviewed the results
  • Learned how the workspace stores intermediate and final outputs

Next Steps

Now that you've created your first workflow, you can:

Ready for more? Check out our complete User Guides for detailed instructions on all Raikoo features.