Gearset's Agentforce metadata deployment solution simplifies the process of deploying AI-powered configurations in Salesforce, including the Agentforce Topic metadata (GenAiPlugin). 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 with Gearset.
Prerequisites
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 GenAiPlugin
.
β
How to deploy GenAiPlugin metadata through Gearset
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 alongside 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 in the target org, or being deployed to the target org along with the GenAiPlugin
, then the validation/deployment will fail.
β
We will be adding more problem analyzers over time to help highlight any missing GenAiFunction
dependencies before a validation or deployment occurs.