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 connection10060 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.

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).

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

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
AdaptiveCard

Definitions

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 JSchema
output
output JSchema

JSchema

Name Path Type Description
schemaVersion
schemaVersion uri
valid
valid boolean
reference
reference uri
ref
ref JSchema
recursiveReference
recursiveReference uri
recursiveAnchor
recursiveAnchor boolean
id
id uri
anchor
anchor string
type
type JSchemaType
default
default
properties
properties object
items
items array of JSchema
itemsPositionValidation
itemsPositionValidation boolean
required
required array of string
allOf
allOf array of JSchema
anyOf
anyOf array of JSchema
oneOf
oneOf array of JSchema
if
if JSchema
then
then JSchema
else
else JSchema
not
not JSchema
contains
contains JSchema
propertyNames
propertyNames JSchema
enum
enum array of
const
const
uniqueItems
uniqueItems boolean
minimumLength
minimumLength integer
maximumLength
maximumLength integer
minimum
minimum double
maximum
maximum double
exclusiveMinimum
exclusiveMinimum boolean
exclusiveMaximum
exclusiveMaximum boolean
minimumItems
minimumItems integer
maximumItems
maximumItems integer
minimumProperties
minimumProperties integer
maximumProperties
maximumProperties integer
minimumContains
minimumContains integer
maximumContains
maximumContains integer
contentEncoding
contentEncoding string
contentMediaType
contentMediaType string
writeOnly
writeOnly boolean
readOnly
readOnly boolean
extensionData
extensionData object
title
title string
description
description string
multipleOf
multipleOf double
pattern
pattern string
dependencies
dependencies object
dependentRequired
dependentRequired object
dependentSchemas
dependentSchemas object
patternProperties
patternProperties object
additionalProperties
additionalProperties JSchema
allowAdditionalProperties
allowAdditionalProperties boolean
allowAdditionalPropertiesSpecified
allowAdditionalPropertiesSpecified boolean
unevaluatedProperties
unevaluatedProperties JSchema
allowUnevaluatedProperties
allowUnevaluatedProperties boolean
additionalItems
additionalItems JSchema
allowAdditionalItems
allowAdditionalItems boolean
allowAdditionalItemsSpecified
allowAdditionalItemsSpecified boolean
unevaluatedItems
unevaluatedItems JSchema
allowUnevaluatedItems
allowUnevaluatedItems boolean
format
format string
validators
validators array of JsonValidator

JSchemaType

JsonValidator

Name Path Type Description
object

CreateCardResult

Name Path Type Description
Card
Card AdaptiveCard

AdaptiveCard