1. Wiki
  2. Wi-Fi con Easy Auth

ISP: turn the town square Wi-Fi into new subscribers

Non-customers on the ISP's public Wi-Fi get WhatsApp and email until they ask for installation. Subscribers get an upgrade and birthday wishes.

Respuesta rápida

Easy Auth PRO's ERP integration splits subscribers (I'm already a customer, with their CPF) from everyone else, and two webhooks tag them in BIP. A BIP flow messages non-subscribers aged 18+ in your coverage cities: WhatsApp right away, plans by email on day 2, the installation offer on day 5. Replies go to sales.

EffortNo-codeChannelWhatsApp + Email + WebhookPlanFull

An ISP that offers free Wi-Fi in the town square, at the town festival or at an event connects thousands of people who aren't customers yet. With Easy Auth and BIP, every connection becomes a contact with consent, and people who live where you have coverage get the right conversation until they ask for installation. Subscribers win too: an upgrade offer and birthday wishes.

What you need

  • Easy Auth PRO, with the ISP's ERP integration (Integrations) and Classic Mode on
  • An EasySpot that asks for the phone, the date of birth and the city, with terms acceptance
  • Easy Auth connected to BIP (see the Connect Easy Auth to BIP guide)
  • BIP Full (Flows), turned on by the BIP team, with WhatsApp connected
  • Approved Marketing WhatsApp templates (the texts are ready below)
  • An API key with Leads Write and Campaigns Trigger

What you'll get

  • Subscribers and non-subscribers separated at connection time: people who choose I'm already a customer enter their CPF, and Easy Auth checks it in the ERP.
  • Every person in BIP with the nao-assinante (non-subscriber) or assinante (subscriber) tag, with no spreadsheet.
  • A flow that talks only to the people who matter: not subscribers yet, 18 or older and living in the cities you cover.
  • WhatsApp right away, while they're still in the square; email with the plans on day 2; the installation offer on day 5.
  • People who reply to the offer go to a sales rep, with the quer-instalar ("wants installation") tag and an alert in the CRM.
  • People who become subscribers leave the flow on their own, on their next connection as a customer.
  • For subscribers: an upgrade offer when they connect and birthday wishes on the day.

How it works

  1. 1On the EasySpot, the person says whether they're already a customer; Easy Auth checks the CPF in the ERP
  2. 2Two webhooks bring each person into BIP with the assinante or nao-assinante tag
  3. 3A BIP flow talks to non-subscribers until they ask for installation

The split happens in Easy Auth, before the data reaches BIP:

  • I'm already a customer: the subscriber enters their CPF (or CNPJ, or SAC code, depending on the ERP). Easy Auth queries the ERP, checks the plan and the contract status, and flags the connection as ISP User. It fires the On Connect ISP webhook.
  • I'm not a customer yet: the person fills in the EasySpot sign-up, with consent. It fires the On Connect Non-ISP webhook. People who try a CPF that isn't recognized also go this way.

In BIP, the tag decides the path. Here's what happens at the festival in Vale Serena, FibraNet's town:

WhoEasy AuthBIP
Marina, 32, lives in Vale SerenaI'm not a customer yet → On Connect Non-ISPnao-assinante tag; enters the flow: WhatsApp right away, email on day 2, offer on day 5
Tiago, subscriber on the 300 Mega planI'm already a customer → CPF in the ERP → On Connect ISPassinante tag; gets the upgrade offer
A 16-year-old visitorI'm not a customer yetStays out of the flow: the age criterion requires 18 or older
Rafael, lives in Morro Alto, 32 km awayI'm not a customer yetStays out of the flow: his city is outside the coverage radius

Step by step

1. Separate subscribers and non-subscribers on the EasySpot

In Easy Auth PRO:

  1. In Integrations, turn on your ERP system (IXC, SGP, Hubsoft, Voalle, MK Solutions and others; or an Excel or Google Sheets spreadsheet). Check the plans and contract statuses that count as subscribers. The details for each ERP are in ERP login filters.
  2. On the integration card, turn on Classic Mode and write the buttons: I'm already a customer and I'm not a customer yet.
  3. In EasySpot, under Fields, add Birthdate and City. Keep the phone as the key and terms acceptance on.

See the integration walkthrough in ERP integration.

2. Connect Easy Auth to BIP with the date of birth and the city

  1. At the bottom of the Easy Auth Dashboard side menu, click bip.marketing and follow the guide Connect Easy Auth to BIP.
  2. In the field list, leave the date of birth (BIP creates a Date field) and the city (a Location field) checked. If you like, rename them to Date of birth and City.
  3. Click Authorize & Create Account.

The connection creates in BIP the fields EasySpot has at that moment: turn on the date of birth and the city in EasySpot before connecting.

3. Create the tags and the API key

  1. In BIP, go to Settings → Tags and, under Lead Tags, create assinante, nao-assinante and quer-instalar. The flow steps only show tags that already exist in the account.
  2. In Settings → API Keys, click Add New API Key. In Name, type Easy Auth — ISP. Under Scopes, turn on Leads Write and Campaigns Trigger. Click Save and copy the key.

The integration key, EasyAuth API Key, only has Leads Write: it works for the two tag webhooks, but not for the upgrade in step 8.

4. Create the two tag webhooks in Easy Auth

In the Easy Auth Dashboard, under Webhooks:

  1. On the integration webhook (URL https://api.bip.marketing/api/leads), click Edit Webhook, copy the lines from the Body and click Hide Edit Webhook, without changing anything.
  2. Click Add Webhook → Custom. Name: Non-subscribers → BIP. Topic: On Connect Non-ISP. Limit Calls per User: Always. Method: POST. URL: https://api.bip.marketing/api/leads.
  3. Under Headers, add Content-Type with application/json and x-bip-api-key with the key from step 3.
  4. In Body, paste the Non-subscribers body from Ready to copy, with the lines you copied in place of the sample ones.
  5. Repeat for Subscribers → BIP, with Topic On Connect ISP and the Subscribers body. It also removes the nao-assinante tag: people who subscribe after the festival leave the flow on their next connection as a customer.
  6. Test each one in Test Webhook, check for status 200, turn on Status and click Save.

5. Prepare the messages

  1. In WhatsApp → Templates, create fibranet_wifi_praca and fibranet_instalacao, as Marketing, with the texts from Ready to copy. Wait for the Approved status: the flow only lists approved templates.
  2. In Emails Templates, create the FibraNet plans template, with the plans and a button to the sign-up page.
  3. In Webhooks, create Wants installation → sales, pointing to the sales team's CRM or chat, with the body from Ready to copy.

6. Create the flow

Available on BIP Full — talk to us. See Plans and limits.

  1. In Flows, click New Flow. BIP creates the draft and opens the editor.
  2. Click Settings and name it Town square Wi-Fi → subscriber.
  3. In Triggers, turn on Lead Created and Lead Updated. The contact may arrive first through the integration webhook, with no tag, and get the nao-assinante tag right after: Lead Updated catches that moment.
  4. In Entry criteria, open the Filter Editor, leave All (AND) and add the criteria from Ready to copy: the nao-assinante tag, without the assinante tag, a date of birth 18 years ago or earlier and the city inside your coverage radius.
  5. Leave Concurrency Behavior on Single and type 1 in Max Cycles Per Lead: each person gets the sequence once, however many times they come back to the square.

7. Build the steps

Click the + under each step to add the next one, in this order:

StepWhat to set
Send WhatsAppfibranet_wifi_praca, Body · {{1}} → first name
Timer2 Day(s), with Choose Better Time on and Hour 10
FilterTags → Does not include any → assinante
Send EmailFibraNet plans template
Timer3 Day(s), with Choose Better Time on and Hour 10
FilterTags → Does not include any → assinante
Send WhatsAppfibranet_instalacao, Body · {{1}} → first name
Timer1 Day(s)
FilterReplied to the offer (see below)
Add Tagsquer-instalar
Send WebhookWants installation → sales

In the last Filter, add an Event criterion: Event Type replied, Source WhatsApp and, in Entity Value, the offer's Send WhatsApp step. BIP records the reply when it arrives within 24 hours of the send made by the flow.

The reply shows up right away in FibraNet's WhatsApp Business app, and the sales rep can already talk to the person. The next day, the flow adds the tag and alerts the CRM, so nobody is left without an answer.

Click Save at the top only when the steps are ready. There's no publish button: the first save puts the flow live.

8. Offer an upgrade to subscribers

  1. In Campaigns, click New Campaign. Campaign Name: Subscriber upgrade. Schedule Type: API Trigger, Trigger Mode Immediate.
  2. Under Lead Re-entry Window, turn on Allow Lead Re-entry and fill in Cooldown Period (Days) with 30: at most one offer a month for each subscriber.
  3. Channel: WhatsApp, template fibranet_upgrade, Body · {{1}} → first name. Save, test and activate. Copy the campaign ID from API Integration.
  4. In Easy Auth, create one more Custom webhook with Topic On Connect ISP, the URL https://api.bip.marketing/api/campaigns/trigger, the same headers and the Upgrade body from Ready to copy.

9. Send birthday wishes

The date of birth is already in BIP. Follow the guide Today's birthdays on the Easy Auth hotspot and write the message with the ISP's gift, for example one month at double speed for subscribers.

Ready to copy

Webhook body: Non-subscribers

FibraNet example: the EasySpot asks for the phone (the key), the name, the email, the date of birth and the city. Use the lines from your integration body; add only the tags line.

Body: Non-subscribers → BIP (Easy Auth)
{
  "name": "{{ field('field-name.value') }}",
  "phone": "+{{ key('raw-full') }}",
  "email": "{{ field('field-email.value') }}",
  "tags": ["wifi", "nao-assinante"],
  "fields": [
    { "key": "Date of birth", "value": "{{ field('field-birthdate.value', 'YYYY-MM-DD') }}" },
    { "key": "City", "value": "{{ field('field-location.value') }}" }
  ]
}

Webhook body: Subscribers

Body: Subscribers → BIP (Easy Auth)
{
  "name": "{{ field('field-name.value') }}",
  "phone": "+{{ key('raw-full') }}",
  "email": "{{ field('field-email.value') }}",
  "tags": ["wifi", "assinante"],
  "tagsRemove": ["nao-assinante"]
}

Webhook body: Upgrade

Replace CAMPAIGN_ID with the ID of the Subscriber upgrade campaign.

Body: Upgrade (Easy Auth)
{
  "campaignId": "CAMPAIGN_ID",
  "lead": {
    "name": "{{ field('field-name.value') }}",
    "phone": "+{{ key('raw-full') }}",
    "tags": ["assinante"]
  }
}

Flow entry criteria

All (AND) group:

CriterionOperatorValue
TagsIncludes anynao-assinante
TagsDoes not include anyassinante
Field → Date of birthBefore or equalsRelative: -18 Years
Field → CityIn radius12 km, centered on the ISP's town

WhatsApp templates

In fibranet_instalacao and fibranet_upgrade, the button is a Quick reply: the tap counts as a reply. In fibranet_wifi_praca, the button is a URL, to the plans page.

Sales webhook

Body: Wants installation → sales (BIP)
{
  "evento": "quer-instalar",
  "nome": "{{ lead.name() }}",
  "telefone": "{{ lead.phone() }}",
  "email": "{{ lead.email() }}",
  "origem": "Town square Wi-Fi"
}

How to measure

  • In Easy Auth: in Statistics, the ISP User tab shows subscriber connections; compare them with the event's total connections. In Webhooks → View Logs, each call shows up with Topic, Status and Hour.
  • In BIP: in Leads, filter by Tags → Includes any → nao-assinante to see how many non-subscribers the event brought in.
  • In the flow: the stats and the per-contact log show how many people got each step and where each one stopped. People who passed the last Filter replied to the offer.
  • Sales: in Leads, the quer-instalar tag lists who asked for installation. Compare with the new contracts in the ERP.

Frequently asked questions

Does Easy Auth figure out on its own who's a customer?

It asks. On the EasySpot, people who tap I'm already a customer enter their CPF (or CNPJ, or SAC code), and Easy Auth checks the plan and the contract status in the ERP. People who tap I'm not a customer yet, or who aren't recognized, continue as non-subscribers.

Which ERPs work?

There are 19 systems, including IXC, SGP, Hubsoft, Voalle, RBX and MK Solutions, plus Excel and Google Sheets. The list and each system's filters are in ERP login filters.

Can I filter by neighborhood?

Location in BIP is by city: the In radius criterion picks the cities in your coverage area. For neighborhoods, ask for the neighborhood in an EasySpot text field and use the Field criterion with that field.

What happens to people who subscribe in the middle of the flow?

On their next connection as a customer, the On Connect ISP webhook adds the assinante tag and removes nao-assinante. The filters between the steps stop the sequence for that person.

What about people under 18?

They stay out of the flow because of the date of birth criterion. They keep using the Wi-Fi and stay in the contact base, without getting the offers.

Do I need BIP Full?

For the multi-step flow, yes. The tags, the upgrade and the birthday wishes work on BIP Lite.

See also