Skip to main content
Limited Release
This action is in limited release and is not generally available.

Prompt AI

The Prompt AI action sends instructions and content to AI, then returns either a plain text response or structured data.

When to Use This Action

Use this action when:

  • You want AI to analyze, summarize, classify, or transform text in your workflow
  • You need to extract structured data from unstructured text, such as a priority, category, and summary from an email
  • You want a straightforward single-turn AI response without tool use

Don't use this action for:

  • Complex multi-step AI tasks: Use Invoke Agentic Action when you need AI to call tools, query APIs, or reason across multiple steps.

How It Works

  1. The action sends the configured prompt to AI.
  2. AI returns plain text or data that follows your output schema.
  3. The action stores the response in the variable you configure.

Configuration

FieldDescription
PromptEnter the instructions and content to send to AI. Supports text expressions with {{variable}} syntax for dynamic content.
Response FormatChoose how the AI should respond: Simple (plain text) or Structured (JSON matching a defined schema).
Output SchemaDefine the properties in a structured response. This field appears when you select Structured.
Expanded ResponseWrap the response in a Response property. Enable this when later steps need to reference {{custom.<variableName>.Response}}.

Returned Variables

Configure Store the results in Variable to use the response in later steps.

Simple mode:

VariableTypeDescription
(root)stringThe AI's text response

Structured mode:

VariableTypeDescription
(root)objectJSON object matching your Output Schema
<PropertyName>variesEach property defined in your schema

When Expanded Response is disabled, access structured properties through {{custom.<variableName>.<PropertyName>}}. When it is enabled, access the response through {{custom.<variableName>.Response}}.

Example Use Cases

Simple Text Analysis

Prompt: Summarize this email in one sentence: {{email.body}}
Response Format: Simple

Structured Data Extraction

Prompt: Extract the following from this email: {{email.body}}
Response Format: Structured
Output Schema:
- Priority (enum): "low", "medium", or "high"
- Category (string): The type of request
- Summary (string): Brief description

FAQs

Do I need an external AI account or API key?

No. Your MSPintegrations subscription provides access to the action.