1. Start here
Pinglo brings WhatsApp conversations, customer records, shared team work, broadcasts, and automation into one workspace. CRM subscriptions are for teams managing customer conversations. Pinglo OTP is a separate developer product for sending and verifying one-time codes over WhatsApp; it does not require a CRM subscription.
Talk to customers
Connect a number and handle incoming messages in the shared inbox.
Keep work organized
Use contacts, tags, assignments, notes, and pipelines to keep context visible.
Connect your tools
Use scoped API keys and webhooks to connect your services.
A sensible setup order
- Create a workspace and confirm your account email.
- Connect and test your WhatsApp Business number.
- Invite teammates and decide who owns each conversation.
- Import or create contacts, then add useful tags and pipeline stages.
- Set up approved templates, then create one small test automation or campaign.
- Review usage and delivery results before increasing volume.
2. Connect WhatsApp
Open Settings → WhatsApp in your workspace. A workspace administrator should have access to the Meta Business portfolio that owns the number.
Collect the Meta connection details
Use the numeric Phone Number ID and WhatsApp Business Account ID (WABA ID) from Meta’s WhatsApp setup. These are IDs, not the phone number itself. Create a long-lived System User access token with whatsapp_business_management and whatsapp_business_messaging permissions, and ensure that system user is assigned to the WhatsApp account.
Save and verify
Enter the IDs and token, then save. Pinglo checks that the token can read the number, confirms the number belongs to that WABA, and subscribes the WABA to the Meta app. Use Test API Connection to check stored credentials. If registration is requested, enter the number’s six-digit WhatsApp two-step verification PIN.
Configure inbound webhooks in Meta
For a self-hosted Meta app setup, use callback URL https://app.pinglo.online/api/whatsapp/webhook, set the verify token to the exact value configured for your deployment, and subscribe to the messages webhook field. The Meta app secret configured on the server must match the app. Follow the dashboard’s connection instructions if your deployment uses a different host.
Send a test message to the connected number, then check that the inbound message appears in Inbox. Meta owns template approval and WhatsApp delivery policies; Pinglo displays connection and send errors so you can tell which side needs attention. See the WhatsApp usage and connection page.
3. Set up your workspace and customer records
Invite teammates from workspace settings and give each person only the access their role needs. Agree on a simple process for assigning new conversations, escalating sensitive issues, and closing resolved work.
- Contacts: Add a name and customer details to a phone number. Import contacts where available, or create them from the inbox/API.
- Tags: Use a small, consistent set such as lead source, customer type, or service interest. Tags make search and audience selection easier.
- Pipelines: Use stages that match your actual sales or service process. Move deals when the customer’s status changes and record the next step.
- Templates: Create and submit templates through Meta where required. Use approved templates for business-initiated messages outside the customer service window.
Keep contact data accurate and collect only what your team needs. Confirm that your business has the right to message each recipient and honor opt-outs.
4. Work in the shared inbox
Open Inbox to work from the conversation list. Choose a conversation to read the customer’s messages and reply. Assign it to a teammate, update its status, and use internal notes for context that should not be sent to the customer.
- Use search and filters to find a person or a conversation that needs attention.
- Check the contact details and previous messages before replying.
- Keep one clear owner for each open conversation; reassign it when responsibility changes.
- Use an approved template when WhatsApp requires one. A regular free-form reply may be unavailable outside the customer service window.
- After resolving the issue, mark the conversation closed. Reopen it if the customer replies and more work is needed.
When a person takes over from an AI or automation, use the handoff controls so automated replies pause while the human is responsible. Resume AI when the conversation is ready for it again; the AI receives conversation context and decides whether a reply is appropriate or whether it should wait.
5. Send broadcasts and utility templates
Use Broadcasts for planned messages to a selected audience. Select a reviewed template, choose or import recipients, fill in template variables, and inspect the audience and message preview before sending. Send a small internal test first when you have changed a template or campaign.
The Send utility template area can send to an individual or a selected audience/contact group, including imported recipients. For large marketing campaigns, use Broadcasts so the campaign is tracked against the appropriate allowance and delivery report.
To schedule a reminder for one person, open their Inbox conversation and select the calendar-clock action, Set a reminder for this contact. Choose an approved Utility template, enter its details, set the date and time, then schedule it. Pinglo uses that contact’s saved WhatsApp number, so you don’t need to re-enter it. Review scheduled reminders in Broadcasts.
After launch, open the campaign report to review sent, delivered, read, and failed outcomes. A submitted campaign does not guarantee delivery: recipient eligibility, template approval, quality limits, and Meta policies still apply. Failed recipients are not counted as successful sends in Pinglo usage.
Share Calendly links from chat
In a chat, choose the calendar icon beside the message composer. Select an appointment type, edit the short message if needed, and send. This sends a standard Calendly scheduling URL directly in the conversation; it does not book a time for the customer.
A workspace owner or admin can also enable AI booking links in chat in Settings → Integrations → Calendly. When enabled, built-in AI replies receive the active Calendly appointment links as context and may offer the relevant link when the customer asks to schedule. The AI must not say a booking is confirmed unless Calendly confirms it.
Prepare a manual reminder from a Calendly booking
- First open Settings → Integrations → Calendly. A workspace owner or admin connects Calendly there; the connection is shared with authorized teammates in that workspace.
- In Inbox, open Send utility template, choose the reminder option, then load upcoming Calendly appointments and select the invitee. Pinglo fills the guest’s name, appointment, time, and any international phone number it can recognize in Calendly’s booking answers.
- Choose an approved Utility template. Confirm or enter the WhatsApp number, complete any remaining template variables, and review the proposed reminder time.
- Press Set reminder. This reminder is manually reviewed and scheduled; it is separate from automatic reminders.
Enable automatic reminders
In Settings → Integrations → Calendly, reconnect Calendly to approve the event type and webhook permissions, then select Set up Calendly events. Choose the appointment types, an approved Utility template, and lead time, then enable automatic reminders. When the booking link is sent from an Inbox chat, Pinglo securely matches the booking to that chat’s contact and uses its saved WhatsApp number. For bookings made from other Calendly links, Calendly must provide a phone number in the booking answers. Cancellations cancel pending reminders. Template variables are filled in order: {{1}} invitee name, {{2}} appointment time in Kenya time, {{3}} appointment type. Pinglo manages the hosted integration’s webhook configuration; contact support if setup is unavailable.
Calendly only supplies the phone number if your booking form asks the invitee for an international number (including + and country code). If no number is found, enter it yourself. The connection loads the first 30 upcoming appointments in the next 90 days; load them again to see updated bookings. Use an approved WhatsApp Utility template and message only people who have agreed to receive the message.
For Pinglo’s hosted service, the OAuth app credentials and webhook signing key are managed by Pinglo. The OAuth app needs users:read, scheduled_events:read, event_types:read, and webhooks:write; reconnect your Calendly account to approve these permissions. If the connection or event setup is unavailable, contact Pinglo support. Existing Calendly connections must reconnect to approve newly added scopes.
6. Automate conversations with flows and automations
Use Flows when the conversation needs a sequence of steps, such as a welcome menu, a question, a branch, or a handoff. Use Automations for event-based actions that should happen when a supported event occurs.
Choose a clear trigger
Pick the event that should start the flow, such as a matching keyword, the customer’s first inbound message, a manual start, or an AI-start trigger. Keyword flows take priority over first-inbound flows when their trigger matches.
Build and save the path
Start is the first option in the Add node menu. Then add message, button/list, media, booking link, input, condition, tag, HTTP request, webhook, wait, or handoff steps. In a booking link step, choose an appointment type from your connected Calendly account or paste a public HTTPS booking URL. The flow sends the link and moves to the selected next node. Check every branch and provide a useful end or escalation path. Save and test the flow with a controlled conversation before activation.
Normalize a collected phone number: place this after Collect input, choose the source variable, output variable, and default country (KE for Kenyan local numbers). Connect both the valid and invalid paths; the invalid path can ask again or hand off to a person or AI.
Call an external API: HTTP request supports HTTPS GET/POST/PUT/PATCH/DELETE, JSON bodies, response variables, status variables, and separate success/failure paths. Webhook sends a JSON POST. Header and body secrets are encrypted when saved; use the Secret fields for credentials. URLs are restricted to public HTTPS destinations and the app does not follow redirects. Use dotted flow variable paths such as {{vars.api_response.data.status}} in conditions and request fields.
Wait for an external callback: include {{vars.webhook_callback_url}} in the request that starts an external job, then place Wait for webhook after it. Each run receives a one-time callback URL. The callback data is saved in the selected variable; on timeout the flow follows the timeout branch. For payments, never trust a callback alone: call Paystack/Pesapal’s transaction status API with an encrypted credential, branch on the verified provider status, and connect the successful path to a message or a human/AI handoff. Paystack’s registered static webhook is not a per-payment callback; use its verification API or a server-side relay for those events.
Request an M-PESA payment from the inbox
On Connect or higher, an admin can connect the business’s Paystack account under Settings → Integrations. Pinglo uses the email of the admin who saves the Paystack connection. Paystack may send receipts to that address. In an active WhatsApp chat, open M-PESA payments, confirm the customer’s M-PESA number, enter the amount, and send the prompt once the customer agrees. Watch the payment status and reference from the same chat.
Automate a Paystack M-PESA STK push in Flows
On plans with Flows, the HTTP Request steps below can send a prompt after the customer confirms the amount and number. A built-in AI agent can invite the customer to reply with PAY to start a matching keyword flow when Flows are enabled for the chat. Use the business’s payment email in the flow so the customer only supplies a phone number. Add Normalize Phone Number after the input, choose Kenya, and save the result as customer_phone. Set a fixed amount or use a trusted order record. This custom flow uses its own configured credentials and verification steps.
- Add an HTTP Request node with method
POST, URLhttps://api.paystack.co/charge, public headerContent-Type: application/json, and a Secret header namedAuthorizationwith valueBearer sk_test_…for testing. Use the live secret only when you are ready to take real payments. Set the response variable topaystack_charge. - For a KES 500 charge, use amount
50000because Paystack expects KES in cents. Addemailas a Secret body field with the business’s payment email. Use the customer phone variable in the public JSON body:{ "amount": 50000, "currency": "KES", "mobile_money": { "phone": "{{vars.customer_phone}}", "provider": "mpesa" } } - Add a Condition after the charge request. When the request is accepted and
paystack_charge.data.statusispay_offline, tell the customer to check their phone and approve the prompt. This status means the prompt was started; it does not prove payment. - Add a Wait node, then an HTTP Request to
GET https://api.paystack.co/transaction/verify/{{vars.paystack_charge.data.reference}}. Add the same Authorization secret header and save the response aspaystack_verify. - Use a Condition to check
paystack_verify.data.status. Continue to a paid confirmation only when it issuccessand the verified amount and currency match your intended charge. For pending payments, add a limited number of Wait → Verify retries. For failed or unresolved payments, send a clear message or hand off to a person.
Paystack customers have up to 180 seconds to approve the STK prompt. Keep retries bounded. A Wait node resumes through Pinglo’s /api/flows/cron; make sure the Pinglo flows cron runs frequently enough for your chosen wait interval. If it only runs once daily, the flow will not resume promptly.
Paystack’s dashboard webhook setting expects a stable endpoint, while Pinglo’s Wait for Webhook URL is unique to one flow run. Do not paste that one-run URL into Paystack’s global webhook configuration. Use the verification steps above; direct Paystack webhook processing requires a stable receiver or relay that verifies Paystack’s signature and maps the payment reference to the correct flow run.
Use Pesapal with a flow
Pesapal requires API authentication, order submission, a registered IPN URL, and a transaction-status check. Use HTTP Request nodes for those calls and verify the final status before marking an order paid. Its registered IPN is also a stable endpoint, so it cannot be replaced by a one-run Pinglo Wait for Webhook URL. Start with Paystack if you want the shorter STK push setup.
When a Flow is waiting at a button or list step, customers can tap an option or type the exact visible button/row label. Matching typed labels route to the same next step as a tap (case and extra spaces are ignored). Other typed text follows the Flow’s fallback behavior; the default is to repeat the prompt. Change that behavior from the When a reply does not match setting at the top of the Flow editor. A Collect input step accepts free text and saves it to a Flow variable for later steps.
Flow triggers start on for every chat by default. The chat header shows a per-chat Flows switch. Human assignment or a human/AI handoff turns it off and cancels any active run for that conversation. A team member must turn it back on manually after the handoff is complete.
Watch real runs
Use flow run history to see which path executed and where it stopped. If a flow is not starting, check that it is active, its trigger is configured, the keyword is present, and another higher-priority trigger is not intended to handle the message first.
7. Use AI and human handoffs
Configure an AI agent with its role, useful business facts, boundaries, and a clear instruction for when to escalate. Test common questions and edge cases before enabling it for customers. AI-generated replies count against the plan’s AI-response allowance and the corresponding outbound message allowance.
Hand off to AI / Resume AI is a trigger to ask the AI to review the conversation context and decide what to do next. The AI may reply when it can help or wait when it needs a customer response. A human handoff pauses automatic replies so the agent can take control; resume AI when automation should continue.
For an external AI, use a flow handoff or the API/webhook integration to send the relevant conversation context to your service. Keep the integration scoped, protect customer data, and avoid sending information your AI does not need.
External AI agents connected through Pinglo MCP can use start_flow to begin an active Manual/AI flow for a conversation, then get_flow_run to check its progress and verified result. Grant the API key flows:run and flows:read scopes; starting a flow can send messages or initiate payment actions, so the agent should get approval first. Make the successful payment branch end with a message, a human handoff, or a built-in AI handoff. The built-in AI receives the flow outcome as context with credential-like fields removed.
8. Integrate Pinglo with the public API
Pinglo’s REST API base address is https://app.pinglo.online/api/v1. Create a key in Settings → API keys. Only an owner or admin can create keys. Give each integration a descriptive name and the minimum scopes it needs. Copy the full key when it is created; Pinglo shows it once. Store it in your server’s secret manager, never in browser code or a public repository.
curl https://app.pinglo.online/api/v1/messages \
-H "Authorization: Bearer $PINGLO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"to":"+254700000000","type":"text","text":"Hello from our app"}'Phone numbers must be in international E.164 format, including the leading + and country code. A successful message send creates or finds the contact and conversation. For a message using an approved WhatsApp template, send type: template with its name, language, and positional parameters.
For CRM imports, first apply 103_external_crm_api_links.sql, then use POST /api/v1/contacts/batch with a provider name and each record’s stable external ID. It accepts up to 100 contacts per request, deduplicates by mapped ID, email, then phone, and returns a result for each row. By default it fills blank name, email, and company fields; set conflict_policy: provider_wins only when you want the CRM to replace those values. New contacts need an international phone number. For deals, use GET /api/v1/deals, POST /api/v1/deals, and PATCH /api/v1/deals/{id} with pipelines:read or pipelines:write. The plan must include Pipelines. The MCP server exposes upsert_contacts, list_deals, get_deal, create_deal, and update_deal; writes require MCP writes to be enabled and the matching API-key scope.
Build a reliable integration
- Use
GET /api/v1/mefirst to validate the key and inspect its granted scopes. - Use a different key per service and revoke it immediately if it may have leaked.
- Handle the standard JSON envelope: success uses
data, failures useerror.codeanderror.message. - Handle
401as an invalid/revoked key,403as a missing scope,429as a rate limit, and409 ai_pausedas a conversation under human control. - The documented per-key rate limit is 120 requests per minute. Respect
Retry-Afterwhen rate limited.
Receive events with webhooks
Subscribe to the events your integration needs: message and conversation events, ai.resumed, and the new contact.created, contact.updated, deal.created, deal.updated, and deal.stage_changed events. Contact and deal events currently fire for changes made through the public API. Verify signatures, process events asynchronously, and deduplicate by event ID. Delivery is best-effort, so reconcile with the read endpoints when needed. See the public API reference for payloads and setup.
9. Build verification with Pinglo OTP
Pinglo OTP is a standalone WhatsApp OTP product for developers. Subscribe to an OTP plan, create an OTP API key in its dashboard, and set up the OTP WhatsApp connection and approved authentication template. Meta’s message charges are billed separately.
Typical integration: your application asks Pinglo to send a code to an E.164 phone number; Pinglo returns a request ID; your user enters the code; your application sends that request ID and code to the verification endpoint; then your application grants access only after a successful verification response.
- Keep the OTP API key on your server and never expose it to the client.
- Send a unique
Idempotency-Keyfor each logical send attempt so network retries do not create duplicate requests. - Persist the returned request ID against your own sign-in or transaction flow and verify against that same ID.
- Use a short-lived code and apply your own resend and account-attempt throttles as well as Pinglo’s limits.
- Do not log OTP values or accept a code unless the verification API confirms it.
OTP plans include API access, delivery tracking, verification limits, and a usage dashboard. Current tiers and allowances appear in the pricing section.
10. Plans, meters, and payments
Your subscription includes Pinglo software and the plan-specific allowances displayed on the pricing page. The workspace’s Settings → Subscription screen shows the active plan and usage meters. Chat sends, broadcast recipient sends, campaign count, and AI-generated responses are separate monthly meters and reset on the first day of each UTC calendar month. Failed sends do not consume successful-send allowance.
WhatsApp/Meta messaging fees, payment processing, telecom, and optional third-party AI fees are not included in the Pinglo subscription. Broadcast campaigns have both recipient-send and campaign-count limits. OTP usage is separate from CRM plan meters.
Pinglo subscriptions are paid through Paystack where available. Review the displayed amount and billing interval before confirming. Non-Kenyan visitors see estimated prices in USD on pages that support visitor currency; the actual subscription charge and checkout remain in KES. Pages with their own currency selector use the currency you select.
M-PESA subscriptions renew manually. The workspace owner receives reminders 7 days, 3 days, and 1 day before expiry, then 12 hours, 3 hours, and 1 hour before expiry. Open Settings → Subscription to renew. If you prefer automatic renewal, switch to card billing there. Reminders appear in Notifications and are also sent by email when email delivery is available. Contact support if a payment is successful but the workspace plan has not updated.
11. Protect your workspace and customer data
Use a unique password, enable two-step verification when offered, and keep recovery access current. Limit admin access to people who need it. Remove access when a teammate leaves. API keys and Meta access tokens are credentials: never paste them into a public issue, chat, or client-side app.
Choose narrow API scopes, rotate keys after staff or systems change, and revoke suspected exposed keys. Use HTTPS for API and webhook endpoints. Collect and retain customer information according to your privacy notice and applicable law. Use Pinglo’s data export or deletion tools for account data requests, and consult the Privacy Policy and Security page.
Pinglo enforces account scoping for workspace data and API keys. Team members should still follow least-privilege practices and your organization’s own access policies.
12. Troubleshooting and getting help
WhatsApp connection test fails
Check that Phone Number ID and WABA ID are numeric IDs from the same Meta business, the token is current, the System User has both WhatsApp permissions and account access, and the number is registered. Use Pinglo’s verification details to identify the exact Meta call that failed.
Inbound messages are missing
Check the WABA subscription to the Meta app, the webhook callback and verify token, and that the messages field is subscribed. Confirm the configured Meta app secret matches the server value.
Template or message is rejected
Confirm the template is approved and its name, language, and variable order match Meta. Check the customer service window and recipient’s WhatsApp status. Read the specific delivery error before retrying.
API returns an error
Check the HTTP status and error.code. Confirm the API key belongs to the right workspace and includes the needed scope. For 429, wait for the indicated retry period; for ai_paused, a human currently owns that conversation.
Page or data looks out of date
Reconnect after a long idle period or network interruption. If a dashboard action does not update, navigate away and return or reload once, then contact support with the page, time, and action that failed. Do not send passwords or access tokens in a support request.
Contact support@pinglo.online or WhatsApp support. Include the account email, a short description, and a screenshot with sensitive information hidden.
Ready to put Pinglo to work?
Set up your workspace, connect your number, or ask the support team to help with a specific integration step.