Translate

Friday, 4 April 2025

Dynamic Content example flow IN Power Automate

 📄 Flow Scenario:

  • We'll create a flow:
    • Triggers when a new item is added to a SharePoint list.
    • Sends an email notification about the new item.

🪜 Flow Steps:

  • 🔔 Trigger: "When an item is created" (SharePoint)
    • This starts the flow when a new item is added to a SharePoint list.
  • 📧 Action: "Send an email (V2)" (Outlook 365)
    • This action sends an email message.

📦 Dynamic Content in Action:

  • The "Send an email (V2)" action uses Dynamic Content.

📤 Trigger Output (Dynamic Content):

  • The "When an item is created" trigger provides SharePoint item info as Dynamic Content:
    • 🏷️ Title (of the item)
    • 📧 Created By Email
    • 📅 Modified Date
    • 🔗 Link to item

📧 Using Dynamic Content in the Email Action:

  • In "Send an email (V2)":
    • To: Fixed email, or Dynamic Content from a "Assigned To" field (if available).

    • Subject: "New item created: [Title]" ([Title] is Dynamic Content)

    • Body:

      A new item has been created in the SharePoint list.
      
      Title: \[Title]
      Created by: \[Created By Email]
      Modified Date: \[Modified Date]
      You can view the item here: \[Link to item]
      
      • (Again, [Title], [Created By Email], [Modified Date], [Link to item] are from Dynamic Content)

💡 Explanation:

  • Power Automate knows the "When an item is created" trigger provides data.
  • It offers this data as Dynamic Content.
  • You choose which Dynamic Content to use in actions.

Benefits:

  • ⏱️ Automation: Emails send automatically.
  • 🧑‍ Personalization: Emails include item-specific info.
  • 📈 Efficiency: No manual copying/pasting.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.