kind: AdaptiveDialog
modelDescription: This topic enables you to send an e-mail to the user.
inputs:
- kind: AutomaticTaskInput
propertyName: subject
name: subjectsubject
description: Subject for an e-mail to send.
entity: StringPrebuiltEntity
shouldPromptUser: true
- kind: AutomaticTaskInput
propertyName: recipients
description: A list of e-mail addresses separated by comma.
entity: StringPrebuiltEntity
shouldPromptUser: true
- kind: AutomaticTaskInput
propertyName: body
description: Body of an e-mail to send.
entity: StringPrebuiltEntity
shouldPromptUser: true
beginDialog:
kind: OnRecognizedIntent
id: main
intent: {}
actions:
- kind: InvokeFlowAction
id: invokeFlowAction_4u8Egh
input:
binding:
text: =Topic.subject
text_1: =Topic.recipients
text_2: =Topic.body
output:
binding:
status: Topic.status
flowId: ccd3b58b-8fbe-9cb0-0dc3-c7663ed99874
- kind: SearchAndSummarizeContent
id: I2QU0G
userInput: Inform that you've sent an e-mail successfully.
inputType:
properties:
body:
displayName: body
description: Body of an e-mail to send.
type: String
recipients:
displayName: recipients
description: A list of e-mail addresses separated by comma.
type: String
subject:
displayName: subjectsubject
description: Subject for an e-mail to send.
type: String
Thanks!
Best regards,
Artur Stepniak