What the model is told
Look up a person in Copper by the exact email address the customer gives you. Returns the matching person with their ID, name, email addresses and phone numbers. The ID is needed by other Copper tools. A 404 response means no person has that email.
Request
POSThttps://api.copper.com/developer_api/v1/people/fetch_by_email
Headers
X-PW-AccessTokenYOUR_COPPER_API_KEYX-PW-Applicationdeveloper_apiX-PW-UserEmailYOUR_COPPER_USER_EMAILContent-Typeapplication/json
Body
{
"email": "{{email}}"
}Parameters
email stringThe customer's full email address.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "3d72eeb0-c2c4-44cc-bff5-dbe1926b04d9",
"type": "HTTP_REQUEST",
"label": "Find Copper Person by Email",
"name": "find_copper_person_by_email",
"customName": false,
"description": "Look up a person in Copper by the exact email address the customer gives you. Returns the matching person with their ID, name, email addresses and phone numbers. The ID is needed by other Copper tools. A 404 response means no person has that email.",
"parameters": [
{
"name": "email",
"type": "string",
"description": "The customer's full email address."
}
],
"config": {
"endpoint": {
"method": "POST",
"url": "https://api.copper.com/developer_api/v1/people/fetch_by_email"
},
"headers": [
{
"name": "X-PW-AccessToken",
"value": "YOUR_COPPER_API_KEY"
},
{
"name": "X-PW-Application",
"value": "developer_api"
},
{
"name": "X-PW-UserEmail",
"value": "YOUR_COPPER_USER_EMAIL"
},
{
"name": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"email\": \"{{email}}\"\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.