Ms teams messaging extension like Polly.ai

%3CLINGO-SUB%20id%3D%22lingo-sub-2600236%22%20slang%3D%22en-US%22%3EMs%20teams%20messaging%20extension%20like%20Polly.ai%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2600236%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EI%20am%20currently%20creating%20a%20survey%20app%20for%20ms%20teams%20similar%20to%20Polly.ai%2Fsurvey%20monkey%3CBR%20%2F%3EThe%20flow%20would%20be%3CBR%20%2F%3EUser%20installs%20app%3D%26gt%3B%3CBR%20%2F%3Eapp%20appears%20as%20messaging%20extension%20on%20the%20chat%20window%3D%26gt%3B%3CBR%20%2F%3Euser%20clicks%20app%20to%20opens%20page%20to%20create%20survey%3D%26gt%3B%3CBR%20%2F%3Eon%20submit%20an%20adaptive%20card%20is%20generated%3D%26gt%3B%3CBR%20%2F%3Ethe%20same%20is%20responded%20back%20to%20teams%20%3D%26gt%3B%3CBR%20%2F%3EThe%20new%20card%20appears%20on%20the%20message%20create%20pane%3D%26gt%3B%3CBR%20%2F%3EUser%20hits%20enter%20to%20post%20the%20survey%20to%20the%20group%3D%26gt%3B%3CBR%20%2F%3EAll%20the%20group%20members%20respond%20to%20the%20survey%20%3D%26gt%3B%3CBR%20%2F%3EThe%20same%20is%20logged%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20anyone%20help%20me%20in%20providing%20some%20links%20from%20where%20I%20can%20start.%3CBR%20%2F%3EOr%20maybe%20throw%20some%20light%20on%20what%20should%20be%20my%20approach.%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20progress%20so%20far.%3CBR%20%2F%3ECreated%20a%20teams%20bot%3D%26gt%3B%3CBR%20%2F%3EOn%20messaging%20extension%20invoke%20returned%20url%20that%20contains%20HTML%20for%20survey%20creation%20which%20is%20created%20in%20vue.js.%20Used%20msteams%20js%20to%20submit%20the%20json%20for%20created%20survey%20back%20to%20the%20bot%3D%26gt%3B%3CBR%20%2F%3EGenerated%20an%20adaptive%20card%20with%20json%20received%20and%20the%20a%20new%20survey%20created%20in%20db.%3D%26gt%3B%3CBR%20%2F%3ESent%20the%20card%20back%20to%20teams%20as%20message%20attachment.%3D%26gt%3B%3CBR%20%2F%3EThe%20card%20is%20displayed%20in%20message%20create%20pane.%3D%26gt%3B%3CBR%20%2F%3EUser%20hits%20enter%20to%20post%20the%20card%20in%20the%20group.%3D%26gt%3B%3CBR%20%2F%3ECaught%20the%20action.submit%20event%20from%20adaptive%20card%20on%20bot%20framework.%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%2C%20please%20note%20while%20I%20am%20generating%20the%20card%20I%20don%E2%80%99t%20have%20user%20email%20in%20the%20turncontext%20as%20well.%3CBR%20%2F%3E%3CBR%20%2F%3EPlease%20throw%20some%20light%20on%20this%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2600236%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBot%20Framework%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2605058%22%20slang%3D%22en-US%22%3ERe%3A%20Ms%20teams%20messaging%20extension%20like%20Polly.ai%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2605058%22%20slang%3D%22en-US%22%3EHi%2C%20We%20have%20replied%20to%20your%20query%20here%20%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F68628025%2Fhow-to-create-ms-teams-survey-app-messaging-extension%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F68628025%2Fhow-to-create-ms-teams-survey-app-messaging-extension%2F%3C%2FA%3E%20so%20closing%20this.%3C%2FLINGO-BODY%3E
Occasional Visitor
Hi,
I am currently creating a survey app for ms teams similar to Polly.ai/survey monkey
The flow would be
User installs app=>
app appears as messaging extension on the chat window=>
user clicks app to opens page to create survey=>
on submit an adaptive card is generated=>
the same is responded back to teams =>
The new card appears on the message create pane=>
User hits enter to post the survey to the group=>
All the group members respond to the survey =>
The same is logged

Can anyone help me in providing some links from where I can start.
Or maybe throw some light on what should be my approach.

My progress so far.
Created a teams bot=>
On messaging extension invoke returned url that contains HTML for survey creation which is created in vue.js. Used msteams js to submit the json for created survey back to the bot=>
Generated an adaptive card with json received and the a new survey created in db.=>
Sent the card back to teams as message attachment.=>
The card is displayed in message create pane.=>
User hits enter to post the card in the group.=>
Caught the action.submit event from adaptive card on bot framework.

Also, please note while I am generating the card I don’t have user email in the turncontext as well.

Please throw some light on this

Thanks
1 Reply