teams-dev-samples
teams-dev-samples copied to clipboard
Approval Scenario using universal action in Adaptive card - Node.js
Sample description
End User Scenario:
- User and manager installs App to a group chat.
- User send bot command to initiate approval request.
- User submits the request by filling details in Adaptive card.
- Manager gets bot notification for approval.
- Manager can approve/reject request from bot message itselft.
- User gets notified for status change.
Developer Scenario:
- Handle "raise approval request" commad in bot.
- Send Adaptive card response having Universal Action for Submit.
- Manager should see option to approve/reject and user should see option to edit or cancel by using up to date views.
- Once approved/rejected by manager, card should be updated with latest status for approval.
Docs Ref: Universal Actions for Adaptive Cards
Are you willing to help?
Yes
Hey! Would you like some help with this? :)
Sure. Are you interested in building this sample?