{"id":34653,"date":"2023-05-09T15:55:52","date_gmt":"2023-05-09T10:25:52","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=34653"},"modified":"2023-12-27T15:03:58","modified_gmt":"2023-12-27T09:33:58","slug":"automatically-sending-power-apps-cards-to-microsoft-teams-channels-using-power-automate-flow","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2023\/05\/automatically-sending-power-apps-cards-to-microsoft-teams-channels-using-power-automate-flow\/","title":{"rendered":"Automatically sending Power Apps cards to Microsoft Teams channels using Power Automate Flow"},"content":{"rendered":"<p>Microsoft has added a new feature called Cards in the Wave 2 release.\u00a0 Cards are simplified forms that are connected to Dataverse which can be sent to CRM users to capture the required details. In the previous blog, we explained <a href=\"https:\/\/www.inogic.com\/blog\/2023\/03\/how-to-connect-power-apps-cards-to-dataverse-and-debug-them\/\" target=\"_blank\" rel=\"noopener\">how to create cards using Power Apps<\/a>.<\/p>\n<p>In this blog, we have explained how to send these cards to the Microsoft Teams channel using Power Automate Flow. We have taken an example where we automate the process of sending an employee information Card when a custom entity employee record gets created.<\/p>\n<p>Microsoft introduced new connector in the power automate flow named as <strong>Cards for Power Apps<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34667\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/1Power-Automate-Flow-4-2.jpeg\" alt=\"Power Automate Flow\" width=\"906\" height=\"520\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/1Power-Automate-Flow-4-2.jpeg 906w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/1Power-Automate-Flow-4-2-300x172.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/1Power-Automate-Flow-4-2-768x441.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/1Power-Automate-Flow-4-2-660x379.jpeg 660w\" sizes=\"(max-width: 906px) 100vw, 906px\" \/><\/p>\n<p>This connector is used to create or get card instances with the input variables, and it will return the dynamic content of the card instance.<\/p>\n<ul>\n<li><strong>Create card instance (preview)<\/strong>: This will help us to create a card instance of a specific card that we have created in our solution. We can also send input parameter values through this card instance. This card instance will return the dynamic content of the card.<\/li>\n<li><strong>Get the card description (preview): <\/strong>This will help us get information about the card like ID, name, description, author, etc.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/bit.ly\/3vaUl2p\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone size-full wp-image-34673\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/Microsoft-Power-Platform-3.png\" alt=\"Microsoft Power Platform\" width=\"800\" height=\"200\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/Microsoft-Power-Platform-3.png 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/Microsoft-Power-Platform-3-300x75.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/Microsoft-Power-Platform-3-768x192.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/Microsoft-Power-Platform-3-660x165.png 660w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>You can follow the below steps to create Power Automate Flow to send cards to the Microsoft Teams channel.<\/p>\n<p>Step 1: Sign in to <a href=\"https:\/\/make.powerautomate.com\/\" target=\"_blank\" rel=\"noopener\">PowerAutomate<\/a> using your credentials and select your environment.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34668\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/2Power-Automate-Flow-4-1.jpeg\" alt=\"Power Automate Flow\" width=\"1920\" height=\"915\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/2Power-Automate-Flow-4-1.jpeg 1920w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/2Power-Automate-Flow-4-1-300x143.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/2Power-Automate-Flow-4-1-1024x488.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/2Power-Automate-Flow-4-1-768x366.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/2Power-Automate-Flow-4-1-1536x732.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/2Power-Automate-Flow-4-1-660x315.jpeg 660w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Step 2: Click on My Flows &gt;&gt; New Flow &gt;&gt; Automated Cloud Flow.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34663\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/3Power-Automate-Flow-4.jpeg\" alt=\"Power Automate Flow\" width=\"1920\" height=\"914\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/3Power-Automate-Flow-4.jpeg 1920w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/3Power-Automate-Flow-4-300x143.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/3Power-Automate-Flow-4-1024x487.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/3Power-Automate-Flow-4-768x366.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/3Power-Automate-Flow-4-1536x731.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/3Power-Automate-Flow-4-660x314.jpeg 660w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Step 3: Give the name and choose the flow\u2019s trigger.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34662\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/4Power-Automate-Flow-3.jpeg\" alt=\"Power Automate Flow\" width=\"1919\" height=\"907\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/4Power-Automate-Flow-3.jpeg 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/4Power-Automate-Flow-3-300x142.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/4Power-Automate-Flow-3-1024x484.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/4Power-Automate-Flow-3-768x363.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/4Power-Automate-Flow-3-1536x726.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/4Power-Automate-Flow-3-660x312.jpeg 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p>Step 4: Set the trigger. In the example screenshot below, the trigger is when a new custom employee record is created.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34661\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/5Power-Automate-Flow-3.jpeg\" alt=\"Power Automate Flow\" width=\"1920\" height=\"914\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/5Power-Automate-Flow-3.jpeg 1920w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/5Power-Automate-Flow-3-300x143.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/5Power-Automate-Flow-3-1024x487.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/5Power-Automate-Flow-3-768x366.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/5Power-Automate-Flow-3-1536x731.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/5Power-Automate-Flow-3-660x314.jpeg 660w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Step 5: In new step, search for <strong>Cards for Power Apps,<\/strong> then click on Expand button.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34670\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/6Power-1.png\" alt=\"\" width=\"1920\" height=\"906\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/6Power-1.png 1920w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/6Power-1-300x142.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/6Power-1-1024x483.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/6Power-1-768x362.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/6Power-1-1536x725.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/6Power-1-660x311.png 660w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Step 6: Select <strong>Cards for Power Apps<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34659\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/7Power-Automate-Flow-2.jpeg\" alt=\"Power Automate Flow\" width=\"1920\" height=\"909\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/7Power-Automate-Flow-2.jpeg 1920w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/7Power-Automate-Flow-2-300x142.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/7Power-Automate-Flow-2-1024x485.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/7Power-Automate-Flow-2-768x364.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/7Power-Automate-Flow-2-1536x727.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/7Power-Automate-Flow-2-660x312.jpeg 660w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Step 7:\u00a0 Select <strong>Create Card Instance (preview).<\/strong><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34658\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/9Power-Automate-Flow-1.jpeg\" alt=\"Power Automate Flow\" width=\"1920\" height=\"905\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/9Power-Automate-Flow-1.jpeg 1920w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/9Power-Automate-Flow-1-300x141.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/9Power-Automate-Flow-1-1024x483.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/9Power-Automate-Flow-1-768x362.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/9Power-Automate-Flow-1-1536x724.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/9Power-Automate-Flow-1-660x311.jpeg 660w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Step 8: Select the card that you want to send. Set the body input variable. In this example, we set the Account Name value of the newly created account record.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34657\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/10Power-Automate-Flow.jpeg\" alt=\"Power Automate Flow\" width=\"1920\" height=\"916\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/10Power-Automate-Flow.jpeg 1920w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/10Power-Automate-Flow-300x143.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/10Power-Automate-Flow-1024x489.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/10Power-Automate-Flow-768x366.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/10Power-Automate-Flow-1536x733.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/10Power-Automate-Flow-660x315.jpeg 660w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Step 9: In the next step, search for <strong>Microsoft Teams<\/strong> connector and select the action as<strong> Post Card as a chat or channel<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34671\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/11Power-Automate-Flow-1.jpeg\" alt=\"Power Automate Flow\" width=\"1920\" height=\"910\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/11Power-Automate-Flow-1.jpeg 1920w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/11Power-Automate-Flow-1-300x142.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/11Power-Automate-Flow-1-1024x485.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/11Power-Automate-Flow-1-768x364.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/11Power-Automate-Flow-1-1536x728.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/11Power-Automate-Flow-1-660x313.jpeg 660w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Step 10: Set the <strong>Power Apps (Preview)<\/strong> in <strong>Post as<\/strong> field, and set <strong>Channel<\/strong> in <strong>Post in<\/strong> field. You can select your team and channel from the dropdown. After that, set the card instance that we created in the earlier step.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34655\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/12Power-Automate-Flow.jpeg\" alt=\"Power Automate Flow\" width=\"1920\" height=\"886\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/12Power-Automate-Flow.jpeg 1920w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/12Power-Automate-Flow-300x138.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/12Power-Automate-Flow-1024x473.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/12Power-Automate-Flow-768x354.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/12Power-Automate-Flow-1536x709.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/12Power-Automate-Flow-660x305.jpeg 660w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>After this power automation flow gets created, it will be triggered when the new employee record gets created, and the card will be sent to the Microsoft Teams channel as shown in the below screenshot.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34654\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/13Power-Automate-Flow.jpeg\" alt=\"Power Automate Flow\" width=\"1920\" height=\"915\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/13Power-Automate-Flow.jpeg 1920w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/13Power-Automate-Flow-300x143.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/13Power-Automate-Flow-1024x488.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/13Power-Automate-Flow-768x366.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/13Power-Automate-Flow-1536x732.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/05\/13Power-Automate-Flow-660x315.jpeg 660w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Thus, in the above blog, we learned how to send Cards to Microsoft Teams channel by using Power Automate Flow.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft has added a new feature called Cards in the Wave 2 release.\u00a0 Cards are simplified forms that are connected to Dataverse which can be sent to CRM users to capture the required details. In the previous blog, we explained how to create cards using Power Apps. In this blog, we have explained how to\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2023\/05\/automatically-sending-power-apps-cards-to-microsoft-teams-channels-using-power-automate-flow\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1913,44,38,1929,2053,1985,45,2361],"tags":[1931],"class_list":["post-34653","post","type-post","status-publish","format-standard","hentry","category-microsoft-power-platform-services","category-power-apps","category-microsoft-powerapps","category-pcf","category-power-apps-portals","category-power-automate","category-power-bi","category-technical","tag-microsoft-power-platform"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/34653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=34653"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/34653\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=34653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=34653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=34653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}