Insurance · Zapier

Connect AgencyBloc to Lightsend

AgencyBloc is an agency management system for life and health insurance agencies, with a CRM, policies and commissions. Lightsend works with AgencyBloc through Zapier: when an individual or policy is created or updated, a Zap passes the person to Lightsend, and a personal text waits on your iPhone until you tap send.

What you'll need

  • A AgencyBloc account with access to connect apps in Zapier
  • A Zapier plan that includes Webhooks by Zapier (a premium Zapier app)
  • Lightsend on your iPhone, with your personal API token copied from the app

Connect AgencyBloc step by step

  1. Copy your Lightsend API token

    In the Lightsend app, create your personal API token and copy it. Lightsend shows it once, so paste it somewhere safe until the connection is built.

  2. Start a Zap with a AgencyBloc trigger

    In Zapier, create a Zap and choose AgencyBloc as the trigger app. Pick the event: Individual Created for new prospects, Individual Updated to react to a status change, or Policy Created and Policy Updated as policies move.

  3. Filter to the people you want

    Add a Filter by Zapier step. For the updated triggers, continue only on the status you care about. Skip anyone without a phone number.

  4. Clean up the phone number

    Lightsend stores phone numbers exactly as sent. Add a Formatter by Zapier step (Numbers, Format Phone Number) so every number arrives in the same format, for example +1 555 010 1234.

  5. Send the person to Lightsend

    Add Webhooks by Zapier with the POST event. URL: the Lightsend intake URL shown below. Payload Type: JSON. Data: externalId (the AgencyBloc individual ID), givenName, familyName, phone and email. Headers: X-LightSend-Key with your API token. Send only these field names; Lightsend refuses fields it doesn't know.

  6. Test and turn it on

    Test with a test record that has your own mobile number. You should get a 200 response and see the contact in Lightsend. Then turn it on.

What Lightsend needs from AgencyBloc

One request per lead. Every connection on this page ends with the same call.

  1. The lead arrives. Lightsend adds them to your contacts, and to a sequence if the key you used is set up for one.
  2. A step comes due. Your iPhone gets a notification with the message ready, filled in with their name.
  3. You tap send. It goes out as an iMessage from your own number. Replies land in your Messages app.
URL
https://api.lightsend.io/intake/contacts
Method
POST, body as application/json
Header
X-LightSend-Key: your personal API token
{
  "externalId": "crm-12345",
  "givenName": "Dana",
  "familyName": "Ruiz",
  "phone": "+1 555 010 1234",
  "email": "dana@example.com"
}
Fields Lightsend accepts
FieldNotes
phoneRequiredMust contain a digit. Stored exactly as sent, so format numbers the same way every time.
fullName, or givenName and familyNameOne requiredSend fullName, or givenName and/or familyName. Not both.
externalIdRecommendedThe lead's ID in AgencyBloc. Makes a repeat request update the same contact instead of creating a second one.
email, company, jobTitle, notesOptionalSaved on the contact.
birthdayOptionalA date as YYYY-MM-DD.

Lightsend refuses any field not listed here, so send only these names. Keep your token in the header, never in a URL.

For developers
  • 200: the contact was created or updated (and enrolled, if the key names a sequence). Repeating a request is safe.
  • 400: the body can't be used, often an unknown field. Fix it; don't retry as is.
  • 401: missing or invalid token.
  • 403: API access is paused until the subscription is renewed in the app.
  • 409: the sequence can't take this contact; the message says what to fix.
  • 429: hourly limit reached; wait for Retry-After.
  • Up to 100 contacts at once: POST /intake/contacts/batch with {"contacts": [...]}.

Full reference: Lightsend API docs. Questions: admin@lightsend.io.

Follow-ups to set up first

  • Individual Created

    New prospect

    A personal first text from the agent.

    Hi Dana, Taylor here. Thanks for reaching out about coverage. When's a good time to talk?

    Hi {{first_name}}, Taylor here. Thanks for reaching out about coverage. When's a good time to talk?

  • Policy Created

    New policy

    Welcome the client and set expectations.

    Your policy's in place, Dana. Text me anytime with questions.

    Your policy's in place, {{first_name}}. Text me anytime with questions.

  • Policy Updated

    Policy updated before renewal

    Filter on status or dates and queue a check-in.

    Hi Dana, your renewal is coming up. Want to review your plan together?

    Hi {{first_name}}, your renewal is coming up. Want to review your plan together?

Why iMessage for AgencyBloc users

Insurance shoppers get calls and texts from a dozen numbers the day they request a quote. The one they answer is the one that looks like a real person. A blue-bubble iMessage from your own iPhone does, because it is one.

Lightsend doesn’t replace AgencyBloc. Quoting, policies and service work stay where they are. Lightsend handles the personal texts that keep a household with your agency: the first reply to a quote request, the nudge on a pending quote, and the check-in before renewal.

What you’ll see day to day

A record changes in AgencyBloc. Soon after, the Zap passes the person to Lightsend. When the next step of your sequence is due, your iPhone shows a notification with the message ready and their first name filled in. You review it, add a detail about the policy if you want, and tap send. Replies come back to your Messages app.

Because Lightsend never sends on its own, you stay in control of tone and timing. Quiet hours keep reminders out of the evening, and the client only ever hears from you.

Tips for a clean setup

  • Start with one connection. Individual Created is the best place to begin. Get it working end to end, then add the next trigger.
  • Always send an externalId. Use the AgencyBloc individual ID, so repeat events update the same Lightsend contact instead of creating new ones.
  • Keep the first message short. One or two sentences, your first name, and a question that’s easy to answer.
  • Add a step before renewal. A personal check-in 45 days out keeps households from shopping around.

AgencyBloc + Lightsend FAQ

Does this work for Medicare and health agents?

Yes. Lightsend sends iMessages from your own phone that you review and send one at a time, so you stay in control of what you say and when. Follow the marketing rules that apply to your lines of business.

Will this change anything in AgencyBloc?

No. The Zap only reads from AgencyBloc. Your existing workflows, emails and tasks keep running as they do today; Lightsend just adds personal iMessages you send yourself.

Why Webhooks by Zapier instead of a Lightsend app in Zapier?

Lightsend doesn't have its own Zapier app yet. Webhooks by Zapier posts the contact straight to Lightsend's intake URL, which works the same way. It's a premium Zapier app, so it needs a paid Zapier plan.

What happens if the same person comes through twice?

Send the AgencyBloc individual ID as externalId. Lightsend updates that contact instead of creating a duplicate, and won't enroll them in the same sequence twice.

Does each producer on my team need their own setup?

Yes. Lightsend sends from each person's own iPhone, so each producer connects their own Lightsend token, usually with a filter on the assigned user.

Does anything send without me?

No. Every message waits on your iPhone. You get a notification, review it and tap send.

Text AgencyBloc customers from your own number

Free for 7 days, then $14 a month or $113.99 a year. No A2P registration.

Download on the App Store

AgencyBloc and its logo are trademarks of their respective owner. Lightsend is not affiliated with or endorsed by AgencyBloc; it works with AgencyBloc through Zapier and webhooks.