Agentforce · Agent Builder6 tasks
Build Marketing Campaign Agents
MeshMesh builds Agentforce agents that create campaigns, segments and marketing content. This includes the Apex, flows, actions and access setup those agents depend on.
Method
How MeshMesh does it
- Deploys the pieces the agent relies on: custom fields, Apex classes with tests, flows and GenAI functions.
- Builds the agent itself, including its plugin, planner bundle and bot, so it can create segment-triggered journey flows through the Metadata API.
- Sets up access: a Connected App with OAuth Client Credentials and a Run As user, a Remote Site Setting, a Custom Setting and a Permission Set, then verifies the OAuth flow end to end.
- Adds actions to a subagent and updates its instructions.
- Commits and activates a new agent version, then runs an end-to-end test.
When a marketing agent breaks after it is built, see Diagnose Marketing Agent Errors.