Copilot Extensibility- Adding the Action plugin to the Topics

This article is a continuation of the previous article, demonstrating how to create a plugin action by integrating the 3rd party app.

In this article, we will see the steps to adding the plugin to the topics.

Following the addition of the action plugin, we shall see how to add the plugin to the topics.

Now, the created plugin action needs to be triggered under any topic. To do so, go to Topics and create a new topic by clicking on the button Add a topic.

Topics

Choose the option Create from Description with Copilot from the drop-down menu.

Drop-down menu

Create the topic by providing its name and brief description.

Brief description

Automatically, the topic will be created with a dynamic query; if a user asks for the weather, the topic will ask the user for the location details.

Dynamic query

Click on the + icon to add the plugin we created in the previous section.

Previous section

After adding the plugin, assign the location that needs to be input by the user by clicking the Set the Value button.

Set the Value

To add the user input to the variable, click the arrow and choose the Activity. Text under the System tab.

Activity Text

Now the output needs to be responded back to the user. Click on the + again and add a Send a Message component option.

Component option

Click on the insert variable {X} to choose the response from the plugin.

Choose the response

Choose the responses variable from the Custom tab.

Custom tab

That’s it done! Click Save the topic and test the plugin.

Save the topic

Testing

Testing


Similar Articles