Hi @bradlaw ,
No worries, I'll send an example below and I hope that can help you:
Common Data Service (entities)
I created an entity called "Expenses" with fields: Date, Title, and Type.
Power Virtual Agents (chatbot)
I created a chatbot that has a topic called "Register an expense" with trigger phrases: I want to register an expense, ...
Inside this topic, I created 3 questions:
1- When do you want to register this expense? (identity: User's response | output variable: Date)
2- What's the name of your expense? (identity: User's response | output variable: Title)
3- What's the type of expense? (identity: User's response | output variable: Type)
4- Create an action calling the Power Automate
Power Automate (workflow)
I created a workflow that the trigger is the Power Virtual Agents (similar that you posted) and the inputs is:
Date - string
Title - string
Type - string
I created an action called "Create a new record" using the Common Data Service (similar that you posted) and connect the entity with my Expenses entity.
Now, I can see some inputs that need that I selected, like Date, Title and Type, and I can see on the Dynamic content all values come from Power Virtual Agents trigger.
I select one by one.
I created an action called "return value(s) to Power Virtual Agents" (similar that you posted) and I can create output variable or no, I decide if I want or no.
If I want to return to Power Virtual Agents the Title of my Expense, I need to create an output called "TitleResult" and select the value on the Dynamic content.
Power Virtual Agents (chatbot)
Now, you can create an action calling from Power Automate and select your workflow, select all inputs with the topic variables.
And after the workflow action inside the topic, you can create a message to the user like:
Thanks, you create an expense called: {and here, you can see the {x} icon on the message, and use the TitleResult here}