Sdílet prostřednictvím


Cards for Power Apps

This connector is to create card instance and get the card description

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Standard All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Standard All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Microsoft
URL https://learn.microsoft.com/en-us/power-apps/cards/overview
Email pa-cards-core@microsoft.com
Connector Metadata
Publisher Microsoft
Website https://learn.microsoft.com/power-apps/cards/overview
Privacy policy https://privacy.microsoft.com/privacystatement
Categories Collaboration;Communication

A powerful way to send cards is through Power Automate. You can create a flow that automatically sends a card after it is triggered by an event. For example, create a flow that asks the assigned person to approve or decline an expense when it is that record is created in Dataverse or that sends a daily status check every morning.

Prerequisites

Get started with your connector

The Cards for Power Apps connector is used to get or create instances of cards to send using a flow. The connector has no triggers and two actions:

  1. Create card instance - Enables the user to select a specific card to create an instance of with customizable input variables. Returns the card instance as card dynamic content.
  2. Get the card description - Returns information about a user-specified card, including the id, environmentId, name, description, author, etc.

Send card in Teams using Teams Connector

  1. In the Power Automate portal create or modify an existing flow.
  2. Make sure the flow has a trigger. In the example screenshot, the trigger is when a new account record is created.
  3. Create or get the card instance you want to send using the Cards for Power Apps connector.
  4. Add an action to Post card in a chat or channel using the Teams connector.
  5. On the action, set Post as to Power Apps (Preview).
  6. On the action, set Post in, Team & Channel, or Group chat to the conversation you want to send the card in.
  7. On the action, set Card to the card or body dynamic content from the Cards for Power Apps connector action you added earlier in Step 3.

For more information on using this connector please visit Send a card automatically with a flow

Common errors and remedies

  1. If your card does not have any input variables, it will show an empty Body parameter after selecting a card to create an instance of. You can ignore that parameter and continue building your flow.

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Create card instance

This operation is used to create the card instance. User should select the card from drop down to create an instance.

Generate card

Generates a card.

Get the card description

This operation is used to get the card description. User should select the card from drop down to its description.

Get the card instance (deprecated) [DEPRECATED]

This operation is used to retrieve the card instance. User should select the card from drop down and provide an instance id of the selected card (deprecated).

Send activity

Sends activity to Power Apps card service.

Create card instance

This operation is used to create the card instance. User should select the card from drop down to create an instance.

Parameters

Name Key Required Type Description
Card
cardId True string

Select card

Card Request
cardRequest True dynamic

Card create instance request

Returns

Generate card

Generates a card.

Parameters

Name Key Required Type Description
Data
data object
Description
description string
Connector Name
connectorName string
Operation Id
operationId string
Inputs
inputs object
Description
description string

Returns

Get the card description

This operation is used to get the card description. User should select the card from drop down to its description.

Parameters

Name Key Required Type Description
Card
cardId True string

Select card

Returns

Get the card instance (deprecated) [DEPRECATED]

This operation is used to retrieve the card instance. User should select the card from drop down and provide an instance id of the selected card (deprecated).

Parameters

Name Key Required Type Description
Card
cardId True string

Select card

Instance Id
instanceId True string

Set Instance Id

Returns

response
object

Send activity

Sends activity to Power Apps card service.

Parameters

Name Key Required Type Description
object

Returns

response
object

Definitions

GenerateCardResponse

Name Path Type Description
Card
card object
Card Id
cardId string

PowerCardDescription

Name Path Type Description
id
id string
environmentId
environmentId string
name
name string
description
description string
author
author string
connections
connections object
inputs
inputs
output
output

CreateCardResult

Name Path Type Description
Card
Card object

object

This is the type 'object'.