34 lines
1.6 KiB
Plaintext
34 lines
1.6 KiB
Plaintext
---
|
|
title: Assign people to a call from a CRM or database
|
|
---
|
|
|
|
## Option #1 Based on CRM integration
|
|
|
|
If you are working with a CRM such as Salesforce, Hubspot, Close.com or similar, you can use our integrations to connect to your apps.
|
|
|
|
We're using the Assignee APIs from each service to understand which person is assigned to an email of a new lead.
|
|
|
|
By prefilling your booking link with ?email=[name@acme.com](https://cal.com/help/en/articles/) our integration will look up who has spoken to [name@acme.com](https://cal.com/help/en/articles/) before and skip all round-robin logic.
|
|
|
|
Here is an example URL: i.cal.com/sales/exploration?email=[name@acme.com](https://cal.com/help/en/articles/)
|
|
|
|
This works with Embeds as well, just add the parameter to your CalLink property.
|
|
|
|
## Option #2 Based on Emails
|
|
|
|
If you are using a different product that we don't integrate with, or you need something more custom you can also achieve this with our Organization plan.
|
|
|
|
We've built our Organization system in a way where every email can be turned into a scheduling link with your company subdomain:
|
|
|
|
[jane@acme.com](https://cal.com/help/en/articles/) → acme.cal.com/jane (or schedule.acme.com/jane)
|
|
|
|
This means if you have a table:
|
|
| **User** | **AccountExecutive** |
|
|
| --- | --- |
|
|
| [peer@cal.com](https://cal.com/help/en/articles/) | [jane@acme.com](https://cal.com/help/en/articles/) |
|
|
|
|
You could show [peer@cal.com](https://cal.com/help/en/articles/) an embed inside your application simply by using the value from AccountExecutive to build the link:
|
|
|
|
[jane@acme.com](https://cal.com/help/en/articles/) → acme.cal.com/jane either with a string replace function or a simple regex.
|
|
|