Lleverage Documentation
WebsiteLegalPlatform
  • Get Started
    • Introduction
    • Co-Pilot
    • FAQ
  • Key Terms
  • Action Guide
    • Triggers
    • Output
    • Prompt
    • Agents
  • Extracting Information
  • Using Information
  • Custom Code
  • Subworkflows
  • Knowledge Bases
  • Intergrations
  • Canvas Guide
    • Canvas Controls
    • Action Cards
    • Action Connections
    • Variables and Data Flow
  • The Run Panel and Testing
  • Error Handling
  • Publishing Guide
    • How to Publish
    • API Endpoint
    • Chat App
    • Form App
    • Integration Configuration
    • Scheduling Workflows
  • Sharing
  • Settings
    • Account Setup
  • Projects
  • Subscription Management
  • Sharing & User Permissions
  • Technical
    • Models
    • Security & Performance
  • Analytics & Monitoring
  • Support
    • Release Notes
      • April 2025
      • March 2025
      • February 2025
      • January 2025
      • December 2024
      • November 2024
      • October 2024
      • September 2024
      • August 2024
      • July 2024
    • Getting Help and Troubleshooting
Powered by GitBook
On this page
  • Key Features
  • How to Add a Prompt Action
  • How to Configure the Prompt Action Card
  • How to Add Media to Prompts
  • How to Write Effective Prompts
  • How to Access Prompt Studio (formerly Prompt IDE)
  • How to Use Prompt Studio
  • How to Test Prompts in Prompt Studio
  • How to Create and Compare Variants
  • How to Save and Exit
  • Types of Prompts Supported
  1. Action Guide

Prompt

A Prompt in Lleverage is a concise set of instructions in natural language that guides AI models to perform specific tasks within your workflow. Prompts are the core mechanic that drives the features you're building in your automations.

Key Features

  • Natural language instructions for directing AI behavior

  • Multiple model options to optimize for balance, speed, or intelligence

  • Support for text, images, and files as input for processing

  • Variable integration for dynamic workflow data

  • Advanced configuration through Prompt Studio

How to Add a Prompt Action

  1. Open the Add Action menu using one of three methods:

    • Click the "Add Action" button in the top left corner

    • Click on a connection circle on an existing action card

    • Click and drag from one action to create a connection

  2. Select "AI" from the categories or find "Prompt" in the "All" tab

  3. Click on "Prompt" to add it to your canvas

💡 If you add multiple prompts, they will be automatically numbered (Prompt 1, Prompt 2, etc.)

How to Configure the Prompt Action Card

  1. Locate the Prompt card on your canvas which includes:

    • Header with the action name (which can be renamed)

    • Variable chip in the top left corner for referencing outputs

    • Controls for expanding/collapsing, running the prompt, and additional options

    • Connection points for inputs and outputs

    • Natural language description that updates automatically

  2. Configure basic settings directly on the card:

    • Model selection: Choose from Balanced (default), Fastest, or Smartest options

    • Instructions: Add up to three instruction blocks in the main card view

  3. Set up your instructions:

    • Type your prompt text in the instructions area

    • Specify message roles (user or assistant) if desired

    • Generate content by clicking the star icon in the bottom left

    • Add media references using the image or clip icons

⚠️ Different models have different capabilities and speed. The model you choose may affect whether text, image, audio, and PDF processing are available.

How to Add Media to Prompts

  1. Click the image icon or clip icon in the instruction area

  2. A link field will appear below the instruction

  3. Enter a variable reference or image URL in this field

  4. Delete media attachments by clicking the delete icon if needed

How to Write Effective Prompts

  1. Be specific with your instructions to ensure relevant responses

  2. Provide clear context to help the model produce accurate results

  3. Structure your prompt logically

  4. Consider using:

    • Dynamic variables with the '@' button or typing with {{ brackets }} syntax for real-time data insertion

    • Parameters, traits, and constraints to guide the AI response

    • Different message roles to structure conversations

💡 You can reorder multiple instructions using the grab handles on the right side of each instruction box.

How to Access Prompt Studio (formerly Prompt IDE)

  1. Add a Prompt action to your workflow canvas

  2. Click on "Prompt Studio" at the bottom of the Prompt card

  3. The full-screen Prompt Studio interface will open

💡 You can move back and forth between Prompt Studio and your workflow for the most effective experience.

How to Use Prompt Studio

  1. In the expanded Prompt Studio view, you can:

    • Select your model from expanded options

    • Configure advanced model settings (temperature, top P, top K, max tokens)

    • Set output format (text or JSON with optional schema)

    • Resize columns for better workspace management

    • Add and reorder multiple instructions using grab handles

  2. Advanced configuration includes:

    • Output settings: Choose between text or JSON format with schema options

    • Column resizing: Adjust the workspace to focus on different aspects of prompt building

    • Expanded instruction view: More space for complex prompt engineering

⚠️ Advanced model settings like temperature and token limits should only be adjusted if you understand their impact on AI behavior.

How to Test Prompts in Prompt Studio

  1. Locate the "Test with mock data" option in the top right corner

  2. This allows you to test the prompt in isolation from the rest of the workflow

  3. Fill in any required variables with test values

  4. Click "Run" to see the AI's response

  5. Make adjustments based on the results

💡 Testing with mock data lets you isolate and perfect your prompt before integrating it with the full workflow.

How to Create and Compare Variants

  1. In Prompt Studio, click the chevron next to your variant name in the left column

  2. Select "Add new variant" to create a new version

  3. Configure the new variant with different settings or instructions

  4. To compare variants:

    • Click "Compare mode"

    • View variants side-by-side in vertical format

    • See how each responds to the same input

    • Create new variants directly from comparison view

    • Duplicate variants as needed

  5. Activate your preferred variant by selecting it and returning to edit mode

💡 Creating variants allows you to keep your previous configurations while testing new approaches.

How to Save and Exit

  1. All changes are automatically saved when you close Prompt Studio

  2. Click the X or close button to return to the workflow canvas

  3. Your prompt configurations will be processed and integrated with your workflow

Types of Prompts Supported

  • Chat for conversational flows

  • Completions for text analysis, text generation, or data processing

Last updated 1 day ago

Basic Prompt Action
Adding an image within a Prompt Action
Prompt Studio
Prompt Node Footer and link to Prompt Studio