A lead feed pulls leads into Tern on a schedule from any platform that serves the Tern Lead Feed standard. The name you give the feed becomes the source of every lead it brings in. Owners and admins can add and change feeds.
What to ask your platform for
- Send the platform's developers the guide at ternup.io/developers/lead-feed. On the Lead feeds page the Guide for providers button opens the same guide.
- Ask them for two things: the feed's Base URL and an API token issued for your workspace.
- Optionally agree a signing secret, so they can check every request really came from Tern. You can generate one in the next section.
Add a feed
- In the sidebar, under Configure, open Integrations.
- In the Sources group find Lead feed and open it. You land on Lead feeds.
- Press Add feed.
- Type a Feed name, for example "Portal enquiries". It is shown as the lead source and must be unique in the workspace.
- Pick a Category: Sales, Support, Partner, Marketing or Other.
- Paste the Base URL. It must be HTTPS. Tern calls
/healthand/leadsunder it. - Paste the API token.
- For Signing secret, press Generate if you agreed to sign requests. Give the secret to the provider now: it is not shown again after you save.
- Set Default region to the two letter country used for phone numbers without a country code, such as AU.
- Pick a Schedule: Every 15 minutes, Hourly, Daily at a time or Manual only. A daily Time is in the workspace time zone.
- Optionally pick a Default owner. Leads without a matching owner email go to this person.
- Optionally type Labels, comma separated. They are added to every lead from this feed.
Test before you save
- Press Test connection.
- Read the result. Connected comes with the feed's version and First leads as Tern would file them, so you can check names, phones and stages look right.
- If records fail validation, the result lists each one with the reason. They would be skipped, not imported wrong.
- Connection failed comes with the reason. The usual causes are a wrong URL or a token for another workspace.
- When it looks right press Add feed. The first sync starts within a minute.
Watch a feed
- On Lead feeds each row shows Schedule, Last run, Next run and a switch under On.
- Last run reads Synced, No changes, Failed, Running or Never run, with counts of what was fetched, new, updated, unchanged and invalid.
- Press Run now to sync at once. The result shows under Last run in a few seconds.
- Use the switch to pause a feed without removing it.
Look into a run
- Click the feed's name.
- Sync runs lists the last 20 runs, newest first. Invalid records are skipped and listed with the reason, so you can send them to the provider.
- Under Leads press Open in Leads to see every lead this feed brought in. On the leads list the same thing is the Source filter.
- Configuration shows the settings. The token and signing secret are stored encrypted and never shown again.
Change or remove a feed
- On the feed's row open the menu and choose Edit. Leave API token blank to keep the saved one.
- To remove it choose Remove, then Remove feed.
Syncing stops and the saved token and signing secret are deleted. Leads it already brought in stay, with the feed name as their source.
What happens to each new lead
- The lead appears in Leads with the feed name under Source, the feed's labels and its owner.
- To start working it without anyone lifting a finger, build an automation with the trigger Lead created and the action Add to playbook or Assign round robin. See Automations.
- A lead the provider later marks deleted is hidden from the list unless you set the Removed at source filter.