PhoneBurner Sync sends Salesforce records to PhoneBurner automatically, as soon as they're created or updated. Point it at a LeadStream's Distribution Folder and your team can call a new lead within seconds of it reaching Salesforce, without assigning records by hand.
This article explains how the pieces fit together, how to design your sync rules for a LeadStream, and what to check when records don't show up. For a click-by-click video of the Salesforce setup, see PhoneBurner Sync Settings in Salesforce.
How it works
- A record changes in Salesforce. For example, a new Lead is created with a Lead Status of New.
- A Salesforce flow fires. You build two record-triggered flows that run the Sync Record to PhoneBurner action. The flows are what start a sync. Saving your Sync Settings alone sends nothing.
- Your sync rules decide where the record goes. Each rule says "when this field equals this value, put the record in this PhoneBurner folder."
- The record lands in that folder in PhoneBurner. If it already exists there, it's updated instead of duplicated.
- The LeadStream takes over. Any contact placed in a LeadStream's Distribution Folder enters that LeadStream and is delivered to your team according to the LeadStream's rules.
- Calls log back to Salesforce. When a rep dials the lead from PhoneBurner, the call is logged on the original Salesforce record.
Good to know:
- Sync is one way, from Salesforce to PhoneBurner. Changes made to a contact in PhoneBurner are not written back to Salesforce. Call activity still logs back as usual.
- Sync sends records to a folder. You don't pick a LeadStream in Salesforce. Instead, you pick the folder that your LeadStream uses as its Distribution Folder.
- Sync never deletes anything in PhoneBurner. If a record stops matching your rules, it's simply not sent again. To take records out of a LeadStream, add a rule that moves them to another folder (see Step 1).
Before you start
- The latest PhoneBurner package is installed in Salesforce, and you have the PhoneBurner Admin permission set. That gives you the PhoneBurner Sync Settings tab in the PhoneBurner app.
- You can sign in as your PhoneBurner account admin. That's the account that owns your LeadStreams. You'll create the access token from this account (more on why below).
- A folder for the LeadStream to distribute from. Create it in the admin's PhoneBurner account, for example SF New Leads. You'll use it as the LeadStream's Distribution Folder. Each LeadStream has its own Distribution Folder.
- A Salesforce field that says when to call. A status field works best, such as Lead Status on Leads or a custom Contact Status field on Contacts.
Step 1: Plan your sync rules
Decide which values of your status field should send a record into the LeadStream, and which should take it back out. Here's a typical plan for Leads:
| When Lead Status equals | Action | Folder | Result |
|---|---|---|---|
| New | Transfer & Move to Folder | SF New Leads (the LeadStream's Distribution Folder) | Enters the LeadStream and is delivered to a rep |
| Working | Move to Folder | Working | Leaves the LeadStream and stays with the rep who's working it |
| Unqualified | Move to Folder | Stop Calling | Leaves the LeadStream |
| Nurture | Transfer & Move to Folder | SF Nurture (another LeadStream's Distribution Folder) | Moves to a slower follow-up LeadStream |
Move to Folder vs. Transfer & Move to Folder
- Move to Folder moves the contact and leaves its owner unchanged. Use it when a record is leaving a LeadStream, so the rep who's working it keeps it.
- Transfer & Move to Folder gives the contact back to your admin account, then moves it. Use it for every rule that puts records into a LeadStream's Distribution Folder. LeadStreams hand out contacts that the admin owns. If a rep already owns the contact (for example, it was delivered to them before, or they called it earlier), a plain Move may leave it out of a Blind Pull or Preview Pull LeadStream's pool.
Rules for rule values
- The value must match exactly, although capitalization doesn't matter. Watch for spaces and punctuation: Closed - Won isn't Closed Won.
- For a checkbox field, use
trueorfalse. - Rules are checked from top to bottom, and the first matching rule wins.
- Several rules can send records to the same folder.
- A record whose value doesn't match any rule isn't sent.
Step 2: Connect Salesforce to PhoneBurner
In Salesforce, open the PhoneBurner app and click the PhoneBurner Sync Settings tab. The Connect to PhoneBurner section walks you through these steps, with links:
- Generate a personal access token while signed in to PhoneBurner as the account admin. Don't use a team member's or sub-account's token. Synced contacts are created in, and transferred to, whichever account owns the token. If that's not the admin, the contacts won't reach the admin's LeadStream folders. See Generate a Personal Access Token (PAT).
- In Setup → Named Credentials, open the External Credentials tab and click PhoneBurner Sync.
-
Under Principals, click New:
- Parameter Name:
PhoneBurner_LeadStream_Admin(exactly) - Sequence Number:
1. Identity Type: Named Principal. - Under Authentication Parameters, click Add. Name:
AccessToken(exactly, one word, case-sensitive). Value: paste your token.
Then click Save.
- Parameter Name:
-
Create a permission set that grants access to the credential.
- Go to Setup → Permission Sets → New.
- Name it, for example PhoneBurner Sync Credential Access, leave License as --None--, and save.
- Open External Credential Principal Access → Edit, move PhoneBurner Sync - PhoneBurner_LeadStream_Admin to Enabled, and save.
- Assign that permission set to yourself and to everyone whose edits should sync records. That includes reps, other admins, and integration users that create records, such as web-to-lead or a marketing tool. The sync runs as whoever saved the record. If that user doesn't have this permission set, their records quietly fail to sync.
- Return to PhoneBurner Sync Settings and click Test Connection. You should see Connected to PhoneBurner.
Step 3: Choose the object and map fields
- Object Type: pick the object your team will call, such as Lead or Contact. Use one object per PhoneBurner account, because PhoneBurner needs to know which Salesforce object its contacts belong to when it logs calls. A custom object also needs a configuration in the Create Configuration tab before its record appears in the dial session.
- Field Mappings: Primary Phone is required. First Name, Last Name and Email are recommended. Address fields are optional. For the address, pick the street field (for example Mailing Street), not the combined address field.
- Additional Phone Fields (optional): extra numbers your reps can call if the primary doesn't connect.
- Custom Fields to Send (optional): Text, Number, Date, Checkbox and Picklist fields. Use these sparingly. The best use with a LeadStream is a priority or score field. In the LeadStream's Advanced Sorting Options, choose Sort By Custom Field to have higher-priority leads called first. Fields you select here are sent no matter which user saved the record.
Step 4: Add your sync rules and save
- Under Sync Rules, click Add Sync Rule for each row in your plan from Step 1. Choose the field, enter the value, choose the action, and pick the folder. The folder list shows the admin's PhoneBurner folders.
- Click Save Settings at the bottom of the page.
- Saving takes up to a minute. Refresh the page to see your saved rules. If they don't appear, check Setup → Deployment Status for an error.
To delete a rule after it has been saved, go to Setup → Custom Metadata Types, click Manage Records next to PhoneBurner Settings, and delete that record. Saved rules can't be removed from the Sync Settings page.
Step 5: Create the two flows that turn sync on
Create both flows in Setup → Flows → New Flow → Record-Triggered Flow, on the same object you chose in Step 3:
| Flow 1: new records | Flow 2: updated records | |
|---|---|---|
| Trigger the flow when | A record is created | A record is updated |
| Entry condition | Your status field Equals your "send to LeadStream" value (for example, Lead Status Equals New) | Your status field Is Changed = True |
In each flow:
- Under Run Immediately, add an Action and search for Sync Record to PhoneBurner.
- Give it a label.
- Turn on recordIds, then choose Triggering [Object] → [Object] ID (for example, Lead ID). For a custom object, choose Record ID.
- Save the flow and Activate it. Inactive flows do nothing.
The Create Flow step on the Sync Settings page never shows as complete. That's expected, because the page can't detect your flows.
Step 6: Set up the LeadStream in PhoneBurner
Signed in to PhoneBurner as the account admin, go to Contacts → gear icon → LeadStream and create or edit a LeadStream:
- Distribution Folder: the same folder your "send to LeadStream" sync rule uses.
-
LeadStream Distribution Type:
- Round Robin: each new lead goes straight to the next rep in line. Good for speed to lead and for leads with a clear owner.
- Blind/Preview Pull: leads stay in a shared pool, and reps get them as they dial. Good for a team working through a shared list. A rep who's already in a dial session gets a brand-new lead on their next call.
- Lead Blitz (if available on your plan): active reps are alerted to each new lead in real time, and the first rep to claim it calls it.
- Receiving Folder: where delivered leads go in each rep's account.
- Recycle Folder (optional): where to send leads that a rep doesn't work in time.
- Recipients: the reps who receive leads, along with any daily or total lead limits.
For more on these settings, see What is a LeadStream Receiving Folder and What is a LeadStream Recycle Folder.
Step 7: Turn on Salesforce dialing for every rep
When a rep dials a LeadStream lead, the dial session starts in PhoneBurner, not in Salesforce. Each rep therefore needs this setting so that calls log to the Salesforce record and the record appears in the dial session. It's saved separately for each user, so every rep in the LeadStream needs it, not just the admin.
- In PhoneBurner, click your initials (top right) → Integrations → Salesforce.
- Scroll to Dialing via PhoneBurner (LeadStream).
- Set Enable dialing via PhoneBurner to Yes.
- In Salesforce object type, type the API name of the object you chose in Step 3, such as
leadorcontact. For a custom object, type its full API name, such asProperty__c. - Set Enable Salesforce iframe to Yes to show the full Salesforce record while dialing. We recommend this, so you only need to sync a few fields.
- Click Save settings.
Step 8: Test it
- In Salesforce, create a new record and set your status field to the "send to LeadStream" value. Make sure it has a phone number.
- In PhoneBurner, check the Distribution Folder. The contact usually appears within seconds. With Round Robin, it's delivered to the next rep moments later.
- Change the record's status to one of your exit values, such as Working, and check that the contact moves to that folder.
Testing with an existing record? Flow 2 runs only when the status field changes. Saving a record that already has the "send" value does nothing, so change the status to something else, save, then change it back and save again.
What happens to leads over time
- Updates don't create duplicates. PhoneBurner matches each synced record to an existing contact on your team by its Salesforce record ID, phone number or email, and updates that contact.
- A matching update moves the contact. If an update matches a rule, the contact moves to that rule's folder, even if a rep has it in their Receiving Folder. Moving a contact into a Distribution Folder puts it back into that LeadStream, which can redistribute it to a different rep. Only map a value to a Distribution Folder when you want the lead handed out again.
- Call results and recycling still apply. Your PhoneBurner call result buttons, recycle rules and recycle limits work on synced leads just like on any other lead. A lead that a call result button moves out of the Receiving Folder isn't recycled.
- Leads with no valid phone number aren't handed out. In Blind/Preview Pull LeadStreams they move to a Lead Review folder, so check that folder now and then.
Troubleshooting
Test Connection fails
Follow the troubleshooting steps shown under the error on the Sync Settings page. Right after a package upgrade, the cause is almost always this one: Salesforce turns off callouts on the Named Credential when an upgrade changes it. Go to Setup → Named Credentials, open PhoneBurner Sync (the Named Credential, not the External Credential), click Edit, turn Enabled for Callouts back on, then save and click Test Connection again.
Records never show up in PhoneBurner
In Salesforce, go to Setup → Apex Jobs and look for LeadStreamSyncQueueable around the time the record was saved.
- No job at all: the flow didn't run, or no rule matched. Check that both flows are active, that the record's value exactly matches a rule's value, and (for existing records) that the status actually changed. See Testing with an existing record in Step 8.
- Job failed with "couldn't access the credential": the user who saved the record doesn't have your credential permission set. Assign it to them (Step 2) and re-trigger the record.
- Job completed: the record reached PhoneBurner. See the next section.
Records reach PhoneBurner but not the LeadStream
-
They're in the wrong account: the access token was created by a team member or sub-account instead of the admin. Generate a new token as the account admin, replace the
AccessTokenvalue on the PhoneBurner_LeadStream_Admin principal, then click Reverify connection on the Sync Settings page. - They're in a folder, but not the Distribution Folder: check that your sync rule's folder matches the LeadStream's Distribution Folder.
- They sit in the Distribution Folder and aren't delivered: check that the LeadStream is Enabled and that its recipients aren't paused or at their daily or total lead limit. With Pull LeadStreams, also check that the rule uses Transfer & Move to Folder.
Calls don't log to Salesforce, or the record doesn't show while dialing
- Check that the rep turned on Dialing via PhoneBurner (LeadStream) with the right object type in their own PhoneBurner account (Step 7).
- For a custom object, complete Create Configuration in the PhoneBurner app.
- If the record area is blank or gray, see Salesforce record not showing in the dial session.
Comments
0 comments
Please sign in to leave a comment.