Skip to main content
How to deploy Agentforce Topic (GenAiPlugin) metadata

A walkthrough on how to deploy Agentforce Topic (GenAiPlugin) metadata

Gareth Hefferon avatar
Written by Gareth Hefferon
Updated yesterday

Agentforce Topics determine the scope that an AI Agent has i.e. Customer service, sales, etc.
​
This guide will explain how to successfully deploy the Topic (GenAiPlugin) metadata via Gearset.

Prerequisites

You must make sure to use at least API version 60 for the comparison. Read the prerequisite section of the How to deploy GenAi metadata guide to find out how to do this.

What metadata is needed in the filter?

In your metadata filter you will only need to include GenAi plugin.
​

How to deploy through Gearset

To be able to deploy a GenAiPlugin metadata type, you need to make sure that all the GenAiFunction dependencies exist on the target, if they don't then you need to deploy them along side the GenAiPlugin for the validation/deployment to be successful.

Example

This GenAiPlugin is dependent on the following GenAiFunctions:

  • Check_Weather

  • Generate_Personalized_Schedule

  • EmployeeCopilot_GetRecordDetails

  • Issue_Bulk_Resort_Credits

  • Issue_Resort_Credit

  • EmployeeCopilot__QueryRecords

  • EmployeeCopilot_SummarizeRecord

If any of these GenAiFunctions are not on the org or being deployed to the org along with the GenAiPlugin then the validation/deployment will fail.
​
We will be adding Problem Analyzers over time to help highlight any missing GenAiFunction dependencies before a validation or deployment occurs.

Did this answer your question?