How to Integrate with Power Automate
Overview
Method
Use Case
Description
Integration Architecture
┌─────────────────────────────────────────────────────────┐
│ Power Automate │
│ ┌─────────────┐ ┌─────────────┐ ┌────────────┐ │
│ │ Trigger │───▶│ HTTP Action │───▶│ Action │ │
│ └─────────────┘ └──────┬──────┘ └────────────┘ │
│ │ │
│ ┌──────▼──────┐ │
│ │ Parse │ │
│ │ JSON │ │
│ └──────┬──────┘ │
└────────────────────────────┼────────────────────────────┘
│
▼
┌──────────────────────────────┐
│ SnackPrompt AI Engine API │
│ /v1/kb/search or /v1/kb/chat│
└──────────────────────────────┘Method 1: HTTP Action (Recommended)
Step 1: Create a New Flow
Step 2: Add HTTP Action
Step 3: Configure the Request
Field
Value
Key
Value
Step 4: Parse the Response
Step 5: Use the Results
Method 2: Chat Endpoint for Complete Responses
HTTP Configuration
Field
Value
Key
Value
Response
Method 3: Custom Connector (Reusable)
Step 1: Create Custom Connector
Step 2: General Information
Field
Value
Step 3: Security
Field
Value
Step 4: Definition - Search Action
Field
Value
Name
Type
Required
Description
Step 5: Definition - Chat Action
Field
Value
Step 6: Create and Test
Step 7: Use in Flows
Method 4: Integration with Copilot Studio
Step 1: Create a Power Automate Flow
Step 2: Configure Flow
Step 3: Connect in Copilot Studio
Practical Use Cases
1. Email Auto-Responder
2. Teams Bot Integration
3. SharePoint Document Assistant
4. Forms Response Handler
5. Scheduled Knowledge Report
6. Multi-Step Support Flow
Working with Variables
Store API Key Securely
Initialize Variables
Configuration Tips
1. Use Expressions for Dynamic Values
2. Handle Empty Results
3. Limit Results for Efficiency
4. Error Handling
5. Apply to Each for Multiple Results
Complete Example: Support Ticket Automation
Flow Overview
Step-by-Step
Expressions Reference
Common Expressions
Expression
Description
Working with Arrays
Troubleshooting
Error: "tenant_id is required"
Error: "InvalidJson" in Parse JSON
HTTP Action Fails
Empty Results
Flow Runs Slowly
Premium vs Standard Licensing
Feature
Premium
Standard Alternative
Related
External Resources
Last updated
Was this helpful?