send HTTP post to my API from ms-teams

%3CLINGO-SUB%20id%3D%22lingo-sub-3296082%22%20slang%3D%22en-US%22%3Esend%20HTTP%20post%20to%20my%20API%20from%20ms-teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3296082%22%20slang%3D%22en-US%22%3E%3CUL%3E%3CLI%3EWe%20have%20configured%20a%20webhook%20connector%20to%20post%20messages%20to%20a%20teams%20channel%3C%2FLI%3E%3CLI%3EThe%20message%20is%20basically%20an%20Adaptive%20card%20with%20actual%20content%20and%20actions%20buttons.%3C%2FLI%3E%3CLI%3Esince%20we%20don't%20have%20any%20bot%2C%20I%20need%20a%20way%20to%20send%20HTTP%20post%20request%20to%20my%20API%20when%20the%20user%20clicks%20one%20of%20the%20Action%20buttons.%3C%2FLI%3E%3CLI%3EBut%20looks%20like%20%22Action.Submit%22%2F%22Action.Execute%22%20wont%20work%20as%20error%20stated%20%3D%26gt%3B%26nbsp%3B%3CP%20class%3D%22%22%3E%3CU%3E%3CEM%3Ethis%20card%20action%20is%20disabled%20because%20it%20is%20not%20supported%20for%20Connectors%3C%2FEM%3E%3C%2FU%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3EIs%20there%20any%20way%20to%20implement%20a%20workaround%20for%20this%3F%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3296082%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3385201%22%20slang%3D%22en-US%22%3ERe%3A%20send%20HTTP%20post%20to%20my%20API%20from%20ms-teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3385201%22%20slang%3D%22en-US%22%3E%3CP%3E%40sangeetha%20-%20Action.Submit%20is%20not%20supported%20for%20connector.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20works%20if%20we%20send%20card%20via%20bot%20action%20only.%3CBR%20%2F%3E%3CBR%20%2F%3ERef%20Doc%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fwebhooks-and-connectors%2Fhow-to%2Fconnectors-using%3Ftabs%3DcURL%23send-adaptive-cards-using-an-incoming-webhook%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fwebhooks-and-connectors%2Fhow-to%2Fconnectors-using%3Ftabs%3DcURL%23send-adaptive-cards-using-an-incoming-webhook%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%20%3CBR%20%2F%3E%3CBR%20%2F%3ENivedipa%3CBR%20%2F%3E------------------------------------------------------------------------------------------%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20the%20response%20is%20helpful%2C%20please%20click%20%22**Mark%20as%20Best%20Response**%22%20and%20like%20it.%20You%20can%20share%20your%20feedback%20via%20%3CA%20href%3D%22https%3A%2F%2Fforms.office.com%2FPages%2FResponsePage.aspx%3Fid%3Dv4j5cvGGr0GRqy180BHbR7iCOpS5_b9Nqmwx43u5rtZUOThVR081SllSR05aSDQxQ0tUMDVPTVIxTi4u%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Teams%20Developer%20Feedback%3C%2FA%3E%20link.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor
  • We have configured a webhook connector to post messages to a teams channel
  • The message is basically an Adaptive card with actual content and actions buttons.
  • since we don't have any bot, I need a way to send HTTP post request to my API when the user clicks one of the Action buttons.
  • But looks like "Action.Submit"/"Action.Execute" wont work as error stated => 

    this card action is disabled because it is not supported for Connectors

  • Is there any way to implement a workaround for this?
1 Reply

@sangeetha - Action.Submit is not supported for connector.

It works if we send card via bot action only.

Ref Doc: https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-u...

Thanks,

Nivedipa
------------------------------------------------------------------------------------------

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.