admin管理员组文章数量:1410730
I need to setup a workflow in teams where the flow is
- When a webhook request is received
- Post the content as an adaptive card in a teams channel
- And in the adaptive card there is a field called email, and I need to fetch the email
- Send email to the extracted email
I am able send the alert using a webhook from Splunk into a teams channel. The alert gets posted to a teams channel as an adaptive card. In the card, there is a field called Email ID.
I need to know how I can setup an action in the workflow to send an email from the email field extracted from the adaptive card.
I need to setup a workflow in teams where the flow is
- When a webhook request is received
- Post the content as an adaptive card in a teams channel
- And in the adaptive card there is a field called email, and I need to fetch the email
- Send email to the extracted email
I am able send the alert using a webhook from Splunk into a teams channel. The alert gets posted to a teams channel as an adaptive card. In the card, there is a field called Email ID.
I need to know how I can setup an action in the workflow to send an email from the email field extracted from the adaptive card.
Share Improve this question edited Mar 14 at 15:07 R Schultz 5445 silver badges16 bronze badges asked Mar 6 at 18:22 Sowmya KavuriSowmya Kavuri 11 Answer
Reset to default 0Extract the Email from the Adaptive Card:
Add a new step to parse the adaptive card response.
Use the "Parse JSON" action to parse the response from the adaptive card.
In the "Content" field, select the response from the adaptive card.
Provide the schema for the JSON response.
Here’s an example schema:
{
"type": "object",
"properties": {
"email": {
"type": "string"
}
}
}
Send an Email to the Extracted Email Address:
Add a new step and search for "Office 365 Outlook".
Select the action "Send an email (V2)".
Configure the action with the necessary details
本文标签:
版权声明:本文标题:microsoft teams - Using Webhook Request Workflow extract email from the adaptive card and send an email to it - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744956944a2634412.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论