Microsoft Teams Module Reference

Applies to

Bridge by Smartsheet

Send Hero Card

With this module you can send a hero card (a card that can include a single image and multiple buttons) as a question or a new comment.

Microsoft Teams Fields

  • Send Media As: State how you want this message is to be treated, either as the next state's question or as a new comment.
  • Cards: An array of one or more cards to be displayed.
    • Title: A title to display at the top of the card.
    • Subtitle: A subheading to be displayed under the title.
    • Text: Text that will be displayed at the bottom of the card.
      • Tap Action: An action that will be invoked when the card is clicked or tapped.
        • Action Type: State the type of action that will be invoked, either open a URL or post a message back to the bot.
        • Value: The URL to direct the user to or the message to send back to the bot.
      • Buttons: Buttons that will be displayed on the card.
        • Action Type: State the type of action that will be invoked, either open a URL or post a message back to the bot.
        • Value: The URL to direct the user to or the message to send back to the bot.
        • Display Text: The text displayed on the button.
      • Buttons Array Source: An array that is used as the source to dynamically build buttons.
      • Image: An image that will be displayed on the card.
        • URL: The URL source of the image to display
        • Alt Text: Text to be displayed in place of the image if it is not available.
  • Layout: State if the cards will be displayed as a list or a carousel. You can have a maximum of ten items in a list, and 7 items in a carousel.
  • Cards Source Array: An array that is used as the source to dynamically build cards.

Send Hero Card Fields

Buttons Source Array

An array that is used as the source to dynamically build buttons.

When you specify an array here, the values of Buttons are used as templates and a button will be generated for each template and element of the specified array.

The values set in the templates are the name of the fields in the array elements, and if the name of the field exists it will replace it with the value from the array element.

Cards Source Array

An array that is used as the source to dynamically build cards.

When you specify an array here, the values of Cards are used as templates and a card will be generated for each template and element of the specified array.

The values set in the templates are the name of the fields in the array elements, and if the name of the field exists it will replace it with the value from the array element.