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
- The action sends the configured prompt to AI.
- AI returns plain text or data that follows your output schema.
- The action stores the response in the variable you configure.
Configuration
| Field | Description |
|---|---|
| Prompt | Enter the instructions and content to send to AI. Supports text expressions with {{variable}} syntax for dynamic content. |
| Response Format | Choose how the AI should respond: Simple (plain text) or Structured (JSON matching a defined schema). |
| Output Schema | Define the properties in a structured response. This field appears when you select Structured. |
| Expanded Response | Wrap 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:
| Variable | Type | Description |
|---|---|---|
| (root) | string | The AI's text response |
Structured mode:
| Variable | Type | Description |
|---|---|---|
| (root) | object | JSON object matching your Output Schema |
<PropertyName> | varies | Each 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.