Skip to main content

Prompt AI

Sends prompts to AI for content generation and processing.

Overview

The Prompt AI node uses AI to generate or transform content based on your prompts. Use it to:

  • Generate text content
  • Summarize data
  • Extract information
  • Transform content
  • Answer questions about data

Parameters

ParameterDescriptionRequired
PromptInstructions for the AIYes

Prompt

Write instructions telling the AI what to do. Use expressions to include item data:

Summarize this customer feedback: {{$item.data.feedback}}
Generate a product description for:
Name: {{$item.data.productName}}
Features: {{$item.data.features}}
Target audience: {{$item.data.audience}}

Output

The AI response is returned in the data field:

{
"data": "Generated content from AI..."
}

Examples

Content Summarization

Summarize long text:

Prompt:

Summarize the following article in 2-3 sentences:

{{$item.data.articleText}}

Data Extraction

Extract specific information:

Prompt:

Extract the following from this email:
- Sender name
- Main request
- Urgency level (high/medium/low)

Email:
{{$item.data.emailBody}}

Return as JSON.

Content Generation

Generate marketing copy:

Prompt:

Write a compelling product description for:

Product: {{$item.data.name}}
Category: {{$item.data.category}}
Key Features: {{$item.data.features}}
Price: {{$item.data.price}}

Keep it under 100 words and highlight the main benefits.

Classification

Categorize items:

Prompt:

Classify this customer inquiry into one of these categories:
- Billing
- Technical Support
- Sales
- General

Inquiry: {{$item.data.message}}

Return only the category name.

Translation

Translate content:

Prompt:

Translate the following text to Spanish:

{{$item.data.text}}

Data Cleaning

Standardize data:

Prompt:

Standardize this company name to its official form.
Remove suffixes like Inc., LLC, Corp.
Fix common misspellings.

Input: {{$item.data.companyName}}

Return only the standardized name.

Prompt Tips

Be Specific

Give clear, detailed instructions:

// Good
Summarize in exactly 3 bullet points, focusing on key findings.

// Vague
Summarize this.

Provide Context

Include relevant background:

You are analyzing customer support tickets for an e-commerce company.
Classify the following ticket...

Specify Output Format

Request structured output:

Return the result as JSON with these fields:
- category: string
- confidence: number (0-1)
- reasoning: string

Use Examples

Show what you want:

Extract the date from the text. Examples:
"Meeting on Jan 5th" → "2024-01-05"
"Due by next Friday" → "[next Friday's date]"

Text: {{$item.data.text}}

Tips

  • Keep prompts focused and specific
  • Use expressions to inject item data
  • Request structured output (JSON) for easier downstream processing
  • Test prompts with sample data before processing large batches
  • Consider rate limits when processing many items
  • Use Edit Item to extract fields from AI responses