Loading
Connect in real time with the Trailblazer Community in Slack Open BetaRead More
CRM Analytics
Considerations and Troubleshooting for CRM Analytics in Coworker

Considerations and Troubleshooting for CRM Analytics in Coworker

Review the access, security, and billing considerations for asking CRM Analytics questions in Agentforce Coworker, and find fixes for common problems.

Important Considerations

  • Read-only access. The crma-beta server provides 10 read-only tools. The agent refuses requests to create, update, delete, run, or schedule anything.
  • Per-user security. Queries run as the Coworker user, so CRM Analytics field-level security, row-level security, and sharing all apply. The agent can see only the assets that the user can see.
  • Billing. Calls to CRM Analytics MCP server and Coworker interactions use Flex Credits.

Troubleshooting

If something doesn't work, consult this table. For the setup steps, see Set Up Agentforce Coworker to Query CRM Analytics Data (Beta).

Issue Resolution
Coworker gives a generic answer and never calls CRM Analytics. The agent isn't turned on for Coworker's channel or it's still a draft. Activate and commit the crma_mcp agent, and turn it on for all relevant channels (step 4 in the setup task).
The agent can't call the tools or actions return errors. The crma-beta server isn't active or it isn't registered in the Agentforce Registry. Complete steps 1 and 2 in the setup task. The registry must show analytics.crma-beta as Active.
Results are empty for assets that you know exist. The running user doesn't have CRM Analytics access or sharing for those assets. Assign the user the CRM Analytics permission set and share the app with them.
The agent invents dataset or field names. The agent skipped the discovery-first flow. Keep the subagent instructions intact. They require list_datasets, then get_dataset or get_xmd, and then execute_query.
SAQL queries return errors. The query uses the wrong currentVersionId or the wrong case for field names. Field names are case-sensitive. Have the agent run get_dataset or get_xmd again before it runs execute_query.
 
Loading
Salesforce Help | Article