How to sync Chargebee billing contacts in Salesforce
Scope
How do I sync billing contacts from Chargebee to Salesforce?
What happens if the billing contact field is empty in Salesforce?
What is the new enhancement for billing contact sync in the Chargebee Salesforce integration?
Summary
Previously, only Chargebee customers were synchronized to a Salesforce contact. Billing contacts were not synced. With the newer behavior, the same configuration used for Chargebee customers also applies to the billing contacts of a customer. Navigate to Chargebee Integration > Sync Rules > Sync Rules for Accounts > When a Chargebee customer has a matching account in Salesforce. You can choose from three options:
- Overwrite with Chargebee data: Overwrites the data in Salesforce with the data from Chargebee.
- Overwrite empty Salesforce fields: Overwrites empty billing contact fields in Salesforce with data from Chargebee.
- Map only.
Note: Currently, first name, last name, email address, and phone number are the only fields populated in Salesforce from Chargebee.
Solution
Overwrite with Chargebee data
When the billing contact in Chargebee is updated, the data is written to Salesforce. For example, you create a billing contact with the email address chargebee_in@india.com.
Using the rule When a Chargebee customer has a matching account in Salesforce and choosing Overwrite with Chargebee data, the billing contact is automatically updated from Chargebee to Salesforce whenever there is an automatic or manual sync.
Once the billing contact is updated in Chargebee, navigate to Salesforce and click Sync Records.
Click Refresh Grid to view the synchronized Chargebee billing contact in Salesforce.
Overwrite empty Salesforce fields
This option overwrites the data from Chargebee only if the billing contact field is empty in Salesforce.
For example, a customer named chargebee_user_02 is created in Chargebee but the billing contact is not yet synced to Salesforce.
The billing contact field remains blank in Salesforce.
For testing, create a billing contact in Salesforce for the same customer without a first name. The billing contact first name field remains empty in Salesforce.
After the billing contact is updated in Salesforce, the matching Chargebee details are reflected.
If you update the billing contact's first name in Chargebee, for example chargebee_user_02, then click Sync Records in Salesforce from the Chargebee integration, and then Refresh Grid, Salesforce captures the field from Chargebee, even if it was empty in Salesforce.
Map only
This process checks the customer's email address in Chargebee and maps the billing contact to Salesforce accordingly.