create_customer
Create a new CRM customer record manually. Add customers from offline contacts or migrate existing ones by providing name and platform.
Instructions
Manually create a new CRM customer record.
Add a customer who may not have come through the social inbox. Useful for migrating existing customers or adding offline contacts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Customer full name | |
| platform | Yes | Primary contact platform ("instagram", "facebook", "whatsapp") | |
| phone | No | Phone number (with country code, e.g. "+905xxxxxxxxx") | |
| No | Email address | ||
| address | No | Shipping / physical address | |
| tags | No | List of tags to assign (e.g., ["vip", "wholesale"]) | |
| note | No | Initial note to add to the customer record | |
| org_id | No | Organization ID (uses YAPARAI_ORG_ID env var if not provided) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||