AI Help
How do I tell whether an AI chatbot tool received the right CRM record ID?
Inspect the actual tool-call arguments and compare the CRM ID with the verified source record before allowing changes.
Steps to follow
- Carry the CRM's stable record ID from the lookup through every mapping step. Avoid relying on display names.
- Open the execution and compare the input ID, resolved tool arguments and returned record ID.
- Reject missing, mismatched or unauthorized IDs before a write. Test two similar contact names to expose accidental selection.
Example in practice
Illustrative example. Two contacts named Anna have different IDs. The update must use the ID returned for the intended email address.
Related AI help
- How do I test an AI workflow in n8n with sample data before activating it?
- How do I handle a CRM lookup that returns more than one possible contact?