Hello, this is my first post. Be gentle.
I have a Topic I created and have several different Nodes. Some Nodes can share the same Message. I currently create a Message and copy/paste. This is tedious, is there a work around to do this? Thank you for your help.
Yes, it is possible for multiple nodes in Power Virtual Agents to share the same message in a topic.
Create a new topic in the "Topics" section of your Power Virtual Agents authoring canvas.
Add a "Message" node to the topic, and enter the message text you want to share in the "Bot says" field.
Click the "..." button next to the "Bot says" field to open the formatting menu.
In the formatting menu, click the "Share" button to generate a shareable URL for the message.
Copy the shareable URL to your clipboard.
Add a new "Message" node in another topic or the same topic, where you want to share the same message.
In the "Bot says" field of the new "Message" node, click the "..." button to open the formatting menu.
Click the "Insert shared message" button in the formatting menu.
Paste the shareable URL you copied earlier into the URL field and click "OK".
The message from the first "Message" node will now be shared in the new "Message" node
Henry thank you this worked as a charm!
I have another question I just posted I'm not sure how to share it with you but if you can find my profile and look at it I would really appreciate it. Trying to Transfer or Export my chatbot from the Power Platform to Teams. Thank you 🙏
Thank you for responding to my question. Is your methodology available in the current PVA canvas or in the new previous canvas, which I haven't used yet? I am new to all of this.
Thank you for your detailed reply to my question. One additional question, I want to confirm your answer can only be done in the Power Virtual Agents studio experience (Preview). If so, do you know a Message share method in the current Power Virtual Agent design method. I am new to all PVA and haven't tried the new PVA studio experience yet. Thank you for your help.
@hersche1 wrote:Hello, this is my first post. Be gentle.
I have a Topic I created and have several different Nodes. Some Nodes can share the same Message. I currently create a Message and copy/paste. This is tedious, is there a work around to do this? Thank you for your help.
One way to avoid repeating things in Power Virtual Agents is to create topics that are called by other topics.
So, in your case,
That way, if you ever need to update the message, you can simply update this topic.
An alternative approach that's possible in the unified authoring canvas is to initate a new variable that contains your message. Then, when you send a message, you can simply reference the variable.
E.g.:
@Varun8492 wrote:Yes, there is a more efficient way to reuse a message in multiple nodes within a topic. One way to do this is by creating a shared message, which can be referenced by multiple nodes within your topic.
To create a shared message in your topic, follow these steps:
- Click on the "Messages" tab in the top navigation bar.
- Click on the "New message" button to create a new message.
- Write the message you want to reuse in multiple nodes.
- Once you've finished writing the message, click on the "Save" button.
- Give the message a name and description that you can easily recognize later on.
- Once you've saved the message, navigate back to your topic and select the node where you want to use the message.
- Click on the "Add message" button within the node editor.
- Select the shared message you just created from the drop-down list of available messages.
- Click on the "Add" button to add the shared message to the node.
Now, whenever you want to use the same message in another node within your topic, you can simply select the shared message you created from the drop-down list of available messages, rather than having to copy and paste the same message over and over again.
I hope this helps! Mark it as solved as it helps other community people as well!
Was this answer generated by ChatGPT? 😉
I'm afraid it's not accurate
Yes, there is a more efficient way to reuse a message in multiple nodes within a topic. One way to do this is by creating a shared message, which can be referenced by multiple nodes within your topic.
To create a shared message in your topic, follow these steps:
Now, whenever you want to use the same message in another node within your topic, you can simply select the shared message you created from the drop-down list of available messages, rather than having to copy and paste the same message over and over again.
I hope this helps! Mark it as solved as it helps other community people as well!