mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
647db9635a
* Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows * Removing local settings. * Removing remining old files from merge.
26 lines
530 B
YAML
26 lines
530 B
YAML
kind: Workflow
|
|
trigger:
|
|
|
|
kind: OnConversationStart
|
|
id: workflow_test
|
|
actions:
|
|
|
|
# Capture input
|
|
- kind: SetVariable
|
|
id: set_user_input
|
|
variable: Local.UserInput
|
|
value: =System.LastMessage.Text
|
|
|
|
# Capture environment variable
|
|
- kind: SetVariable
|
|
id: set_user_name
|
|
variable: Global.UserName
|
|
value: =Env.USERNAME
|
|
|
|
# Respond with input
|
|
- kind: SendActivity
|
|
id: send_result
|
|
activity: |-
|
|
Hello {Global.UserName},
|
|
You said, "{Local.UserInput}"
|