Adaptive Cards Introduction

Uses Adaptive Cards to gather and present rich, interactive services, tools and information

Written By Ben Lehmann

Last updated 10 months ago

Overview

OneBot uses Microsoft’s Adaptive Cards to present information in an appealing and interactive way. You write cards in JSON, which is automatically adapted to your end-user’s application, fitting into its layout and design. This ease of cross-platform working makes Adaptive Cards an ideal choice, enabling OneBot to provide feature rich and flexible information solutions.

How to use Adaptive Cards

Creating and using Adaptive Cards is simple: write a card definition, add it to the Content Hub, and then use your card in a Workflow.

  1. Write a card definition - compose your card and its different elements in JSON. Typically, you’ll write and edit card definitions using Microsoft’s Adaptive Card Designer.

  2. Add it to the Content Hub - create a ‘New Card’ in the Content Hub and put your freshly written definition into it. Now your card is available to use with OneBot.

  3. Use the card in a Workflow - configure a Workflow Action to use your card.

Get started using Adaptive Cards

You might like to review the following articles to help get started using Adaptive Cards.


v3.0