Setup Guide
15 min read
4 October 2025

Power Automate Teams Integration: Automated Notifications Setup Guide

Power Automate Teams LMS integration: automate training notifications with adaptive cards. Step-by-step HTTP webhook setup. Send training reminders, assignments, and completions directly to Microsoft Teams. Complete UK compliance training automation guide.

What You'll Achieve

  • Automated Teams notifications for training assignments, completions, and reminders
  • Rich adaptive cards with action buttons and detailed information
  • Direct messaging to individual users via Teams
  • Seamless integration between TrainMeUK and Microsoft Teams

👤 Who Should Do This

A Microsoft 365 administrator with Power Automate Premium license and Teams admin permissions.

Note: This integration requires Power Automate Premium as it uses HTTP triggers.

🔄 Step-by-Step Setup

1. Create New Power Automate Flow

  1. Open Power Automate (flow.microsoft.com)
  2. Click New flow
  3. Select Automated cloud flow
  4. Click Skip to bypass the template selection
  5. Name your flow something memorable like 'Teams Message Automation'
  6. Click Create

2. Add HTTP Trigger

  1. Click Add a trigger
  2. Search for 'When a HTTP request is received'
  3. Select the trigger (this is a Premium Power Automate function)
  4. In the Request Body JSON Schema field, paste the following schema:
{
  "type": "object",
  "properties": {
    "userEmail": {"type": "string"},
    "userName": {"type": "string"},
    "messageTitle": {"type": "string"},
    "messageBody": {"type": "string"},
    "actionUrl": {"type": "string"},
    "actionText": {"type": "string"},
    "priority": {"type": "string"},
    "category": {"type": "string"},
    "timestamp": {"type": "string"}
  }
}
Power Automate HTTP Trigger configuration

3. Add Teams Action

  1. Click New step
  2. Search for 'Post card in a chat or channel'
  3. Select the action
  4. Configure the action settings:
    • Post as: Flow Bot
    • Post in: Chat with Flow Bot
    • Recipient: Click the cog symbol and select "Use dynamic content"
    • Click into the recipient box and click the blue lightning bolt button that appears
    • Select userEmail from the dynamic content options
Power Automate Post card action configuration

4. Configure Adaptive Card

In the Adaptive Card section, paste the following JSON:

{
  "type": "AdaptiveCard",
  "version": "1.0",
  "body": [
    {
      "type": "TextBlock",
      "size": "Large",
      "weight": "Bolder",
      "text": "@{triggerBody()?['messageTitle']}",
      "wrap": true
    },
    {
      "type": "TextBlock",
      "text": "@{triggerBody()?['messageBody']}",
      "wrap": true,
      "spacing": "Medium"
    }
  ],
  "actions": [
    {
      "type": "Action.OpenUrl",
      "title": "@{if(empty(triggerBody()?['actionText']), 'View Details', triggerBody()?['actionText'])}",
      "url": "@{triggerBody()?['actionUrl']}"
    }
  ]
}
Power Automate Post card in chat configuration

5. Save and Get Webhook URL

  1. Click Save at the top of the Power Automate page
  2. Once saved, the HTTP POST URL will be generated in the first step
  3. Copy this URL - you'll need it for TrainMeUK configuration

💡 Tip: The webhook URL will look something like: https://prod-xx.westus.logic.azure.com:443/workflows/xxx/triggers/manual/paths/invoke?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=xxx

6. Configure TrainMeUK Settings

  1. Go to app.trainmeuk.co.uk/admin/settings
  2. Click the Bell Icon to open notification settings
  3. Scroll down to Power Automate Direct Messages
  4. Tick Enable Power Automate Direct Messages
  5. Paste the HTTP POST URL from Power Automate into the Webhook URL field
  6. Click Save
TrainMeUK Power Automate settings configuration

🧪 Test Your Integration

Testing Steps

  1. Create a test training assignment in TrainMeUK
  2. Assign it to a user who has Teams access
  3. Check that the user receives a Teams notification with the adaptive card
  4. Verify that the action button works and links to the correct training
  5. Test different notification types (assignments, completions, reminders)

💡 Troubleshooting

"Flow failed to trigger"

Check that the webhook URL is correctly copied and pasted into TrainMeUK settings. Ensure there are no extra spaces or characters.

"User not found in Teams"

Verify that the user's email address in TrainMeUK matches their Microsoft 365 email address exactly.

"Premium license required"

Ensure you have Power Automate Premium licenses assigned to users who need to create HTTP trigger flows.

"Adaptive card not displaying"

Check the JSON syntax in the adaptive card configuration. Ensure all brackets and quotes are properly closed.

Why Power Automate Integration Matters

Power Automate integration transforms how your organization handles training notifications by providing:

Real-Time Notifications

Staff receive immediate notifications in Teams when training is assigned, completed, or overdue, ensuring nothing falls through the cracks.

Rich Interactive Cards

Adaptive cards provide detailed information and direct action buttons, making it easy for users to access training with a single click.

Centralized Communication

All training communications happen in Teams, where staff already spend their working day, reducing context switching.

Automated Workflows

Eliminate manual notification processes and ensure consistent, timely communication across your organization.

Advanced Configuration Options

Customization Possibilities

Conditional Logic

Add conditions to send different notifications based on training type, user role, or completion status.

Multiple Recipients

Configure flows to notify managers, HR, or compliance teams in addition to the trainee.

Rich Media

Include images, progress bars, or charts in adaptive cards to make notifications more engaging.

Escalation Workflows

Set up automatic escalations for overdue training with increasing urgency levels.

Security Best Practices

Keep Your Integration Secure

  • Use HTTPS webhooks only to ensure encrypted communication
  • Validate webhook URLs and keep them confidential
  • Monitor flow runs regularly for any unusual activity
  • Set appropriate permissions on Power Automate flows
  • Test thoroughly before deploying to production
  • Keep adaptive card JSON secure and validate all dynamic content

What Happens After Setup

Once configured, your Power Automate integration will automatically:

  • Send Teams notifications when training is assigned to users
  • Notify managers when their team members complete training
  • Send reminder notifications for overdue training
  • Provide direct links to training content via adaptive card buttons
  • Track engagement through Teams activity logs

Book a demo with TrainMeUK to see Power Automate Teams integration in action and learn how automated notifications can transform your training engagement.

Related Articles

Frequently Asked Questions

Do I need Power Automate Premium for this integration?

Yes, Power Automate Premium is required because this integration uses HTTP triggers, which are a premium-only feature. You'll need at least one Premium license (currently £11.90/user/month or included with Microsoft 365 E5) to create and run the flow. One license is sufficient as the flow runs under a single account, not per user receiving notifications. The investment is worthwhile: automated Teams notifications improve training completion rates by 40-50% by delivering reminders directly where employees already work, reducing the need for manual follow-ups and email chases.

Can I customize the Teams notification messages and design?

Absolutely. The adaptive card JSON is highly customizable. You can modify: text content and messaging, colors and styling to match your brand, images and logos, action buttons and their URLs, card layout and structure, and conditional formatting based on notification type. Use the Adaptive Cards Designer to visually design cards, then copy the JSON into your Power Automate flow. This allows complete control over notification appearance while maintaining functionality. Many organizations create different card designs for assignments vs completions vs reminders for better user recognition.

What happens if a user doesn't have Teams access?

If a user doesn't have Microsoft Teams access or their email address doesn't match their Microsoft 365 account, the notification attempt will fail for that specific user. However, TrainMeUK handles this gracefully: other users continue receiving notifications normally, failed notifications are logged in Power Automate run history for troubleshooting, the user still receives in-app notifications within TrainMeUK, and email notifications can serve as backup (if configured). Best practice is ensuring all staff have Teams access before enabling this integration, or maintaining email notifications as a fallback for users without Teams.

How do I test the Power Automate integration after setup?

Testing is straightforward: create a test training course in TrainMeUK, assign it to yourself or a test user with Teams access, check that the Teams notification arrives (usually within seconds), verify the adaptive card displays correctly with all content, click the action button to ensure the URL redirects properly, and review the Power Automate run history to confirm successful execution. Test different notification types (assignments, completions, reminders) to ensure all work correctly. Monitor the first few real notifications closely to catch any issues before full rollout.

Can I send notifications to Teams channels instead of individual users?

Yes, channel notifications are supported and useful for team visibility. In your Power Automate flow, change the "Post in" setting from "Chat with Flow Bot" to "Channel", then select your target channel. Channel notifications work well for: manager dashboards showing team training status, department-wide training announcements, compliance deadline reminders for entire teams, and celebration messages for team achievements. Note that channel notifications are visible to everyone in that channel, so use individual notifications for personalized or sensitive training reminders. You can even create separate flows for individual vs channel notifications.

What are the benefits of Teams notifications over email for training?

Teams notifications deliver significantly better engagement than email: notifications appear where employees already work (no inbox checking required), adaptive cards are interactive with clickable buttons (unlike static emails), real-time delivery ensures immediate visibility, notifications integrate with Teams activity feed (central notification hub), employees can act immediately (click to start training), notifications cut through email overload (average employee receives 121 emails daily), and response rates are 40-50% higher for Teams vs email. Organizations using Teams notifications report faster training completion and higher engagement, especially for distributed or remote workforces. See pricing for our complete Microsoft 365 integration including Teams automation.

Ready to Set Up Power Automate Integration?

Our team can help you configure Power Automate Teams integration in under 30 minutes, with full support throughout the process.

Need Help Implementing These Strategies?

Our team is here to support you with expert guidance and implementation assistance.