Share via

Adaptive card triggers on every submit action

Evans, Justin (MNIT) 0 Reputation points
2025-10-08T15:38:29.04+00:00

Hi all,

I've created a simple adaptive card with a button that routes to a custom topic. The button works great, except that it triggers the topic on every submit a user makes, not just when the button is selected.

What am I missing so that the adaptive card button only triggers when a user selects it?

User's image

User's image

{
  type: "AdaptiveCard",
  actions: [
    {
      type: "Action.Submit",
      title: "Contact Us",
      data: {
        topicTrigger: "Topic.ContactUs"
      }
    }
  ],
  '$schema': "https://adaptivecards.io/schemas/adaptive-card.json",
  version: "1.5"
}
Microsoft Copilot | Other
0 comments No comments

Answer recommended by moderator

Evans, Justin (MNIT) 0 Reputation points
2025-10-08T18:34:17.4833333+00:00

Figured it out. For those interested, I needed to add the type 'associatedInputs' to the data object. Updated Formula works as intended.

{
  type: "AdaptiveCard",
  actions: [
    {
      type: "Action.Submit",
      title: "Contact Us",
      data: {
        topicTrigger: "Topic.ContactUs",
        text: "Contact Us",
        associatedInputs: "none"
      }
    }
  ],
  '$schema': "https://adaptivecards.io/schemas/adaptive-card.json",
  version: "1.5"
}

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.