WhatsApp Chatbot for Business: Best Practices with the WhatsApp Business API

Content

topic0 cover en 12

A WhatsApp chatbot for business can answer questions, qualify leads, and handle support on the channel many customers use daily. With the WhatsApp Business API and Spoki, you manage templates, the 24-hour session, and opt-in so your chatbot stays compliant and effective.

This guide covers best practices for a WhatsApp chatbot: when to use templates vs session messages, opt-in, and how Spoki fits in. You will find links to registration, pricing, support, book, and the ROI calculator.

How a WhatsApp Chatbot Works with the API

The WhatsApp Business API does not let you send free-form text for the first message or after the 24-hour session has expired. Your chatbot must:

  • Start with a template: The first message to a contact (or after 24h of no reply) must be an approved template. Spoki helps you create and send templates so your chatbot can initiate conversations (e.g. “Hi {{1}}, how can we help? Reply with a number: 1 Support, 2 Sales.”). See registration and support.
  • Use session messages for replies: Once the user replies, you enter the 24-hour session. During the session, your chatbot can send session messages—free-form replies, buttons, or quick replies (within API limits). No template is needed for each answer. Spoki keeps session and template logic clear so your chatbot does not break the rules. Use pricing and the ROI calculator to plan volume.

Spoki sits between your chatbot (or app) and the WhatsApp Business API: you send templates and session messages via Spoki, and Spoki handles delivery and 24-hour rules. Inbound messages can be forwarded to your webhook so your chatbot logic runs on your server or in your CRM.

Opt-In: Required Before Any Chatbot Message

WhatsApp requires that users have agreed to receive messages before you send them. Best practices for chatbot opt-in:

  • Collect consent clearly: When a user registers, clicks a WhatsApp link, or fills a form, ask explicitly if they want to receive messages via WhatsApp. Store opt-in in your CRM or Spoki. Spoki helps you respect opt-out so your chatbot list stays compliant. See registration and support.
  • Scope: Tell users what they will receive (e.g. “Support and sales assistance via WhatsApp”). Do not use the same opt-in for unrelated campaigns unless they have agreed. Spoki can segment contacts so your chatbot only messages those who have opt-in for that use case.
  • Honour opt-out: When a user sends STOP, your chatbot or app must process it (e.g. update your database, stop sending). Spoki can forward opt-out events to your webhook so your chatbot stays compliant. Use book for webhook design.

Chatbot Use Cases: Support, Lead Qualification, FAQ

Support: A user sends a WhatsApp message (e.g. “I need help with my order”). Your chatbot receives it via Spoki’s webhook, then replies with session messages (e.g. “What’s your order ID?” or “Choose: 1 Order status, 2 Refund”). Within 24 hours you can send as many session messages as needed. After 24h, the next outbound message must be an approved template. Spoki helps you manage this so support chatbots stay compliant. Links: support, pricing.

Lead qualification: Send an approved template to welcome a new lead (e.g. “Hi {{1}}, thanks for your interest. Reply 1 for sales, 2 for more info.”). When they reply, your chatbot can ask questions with session messages and route to sales or support. Spoki delivers inbound messages to your webhook so your chatbot can qualify leads in real time. See book and the ROI calculator.

FAQ: Your chatbot can answer common questions within the session (e.g. opening hours, pricing, registration link). Use session messages for answers; when the session expires, the next proactive message must be a template. Spoki and your chatbot logic keep templates and session in sync. Use registration and support for template ideas.

Integrating Your Chatbot with Spoki

Spoki provides an API and webhooks. Your chatbot (on your server, CRM, or no-code platform) can:

  • Send messages: Call Spoki to send templates (with variables) or session messages. Spoki returns delivery status and enforces 24-hour rules.
  • Receive messages: Configure a webhook URL in Spoki. When a user sends a WhatsApp message, Spoki posts the event to your webhook. Your chatbot parses it, runs logic (e.g. FAQ, lead routing), and replies via Spoki within the session.

Keep opt-in and opt-out in sync: when a user opts out, your chatbot must stop messaging them. Spoki helps you record opt-out and can notify your webhook. See registration and support for integration help.

Testing and Improving Your Chatbot

Before going live, test your chatbot with approved templates and session flows. Confirm that opt-in is checked before every send and that opt-out (e.g. STOP) is processed and stored. Use Spoki to monitor delivery and webhook responses; fix timeouts or errors so users get replies within the 24-hour window. Over time, review which templates start the best conversations and which session flows convert (e.g. lead to sales). Spoki and support can help you tune chatbot logic and template wording.

Pitfalls to Avoid

  • Sending without opt-in: Never let your chatbot message users who have not agreed to WhatsApp. Spoki helps you store and check opt-in so chatbot conversations stay compliant.
  • Using free-form for the first message or after 24h: The API requires approved templates in those cases. Design templates that start conversations (e.g. menu, welcome); Spoki sends them. Use session messages only within 24 hours of the user’s last message.
  • Ignoring the 24-hour window: Your chatbot has 24 hours after the user’s last message to reply with session messages. After that, use an approved template to re-open the conversation. Spoki keeps session and template logic clear so your chatbot does not miss the window or break the rules. Use the ROI calculator to plan chatbot volume.

Conclusion

A WhatsApp chatbot for business can handle support, lead qualification, and FAQ when you use approved templates for the first touch, session messages within 24 hours, and opt-in for every contact. Spoki works with the WhatsApp Business API so you manage templates, webhooks, and consent in one place.

Ready to build a WhatsApp chatbot? Visit Spoki for the WhatsApp Business API, registration, and pricing. Use support or book for chatbot and webhook design, and the ROI calculator to plan volume.

Related Articles

Frequently Asked Questions

What is Spoki?

Spoki is a comprehensive WhatsApp Business API platform that enables businesses to transform WhatsApp into a powerful channel for marketing, sales, and customer support.

With Spoki, you can:

Automate communications: Send automated messages, create chatbots, and set up intelligent workflows

Manage customer support: Multi-operator team management with ticketing system and conversation routing

Increase sales: Recover abandoned carts, send payment requests, and manage your product catalog directly on WhatsApp

Marketing campaigns: Send bulk messages to thousands of contacts with personalized templates

AI-powered features: Leverage artificial intelligence to automate responses and qualify leads 24/7

Integrate with your tools: Connect with over 4,000 platforms including CRM, e-commerce, and marketing tools

Spoki is an official Meta Tech Partner, guaranteeing reliability, security, and access to all official WhatsApp Business API features.

How does the WhatsApp Business API work?

The WhatsApp Business App and the WhatsApp Business API (used by Spoki) are two completely different solutions designed for different business needs:

WhatsApp Business App: • Designed for small businesses and sole proprietors • Manual message management • Limited to 5 devices simultaneously • Maximum 256 contacts per broadcast • No automation capabilities • Free but with significant limitations • No CRM or integration support

WhatsApp Business API (Spoki): • Designed for medium to large businesses • Unlimited operators: Your entire team can manage conversations simultaneously • Unlimited broadcasts: Send messages to thousands of contacts • Advanced automation: Chatbots, automatic responses, intelligent workflows • CRM integration: Connect with your existing tools (HubSpot, Salesforce, etc.) • Analytics & reporting: Detailed statistics on your communications • No ban risk: Official API approved by Meta for bulk messaging • Cloud-based: No need to keep a phone connected • Multi-channel: Integrate WhatsApp with SMS, Voice, and other channels

How much does a Spoki subscription cost?

We have different plans suitable for various needs. Visit the Pricing page for updated details.

Is there a free trial?

Yes, Spoki usually offers a trial period or a free plan to test the platform.

Can I integrate Spoki with other tools?

Spoki integrates with thousands of platforms through native integrations, Zapier, Make (Integromat), and Webhooks.

Native Integrations:

E-commerce: Shopify, WooCommerce, PrestaShop, Magento

CRM: HubSpot, Salesforce, Pipedrive, Zoho, ActiveCampaign

Marketing: Mailchimp, Google Sheets

Payment: Stripe, PayPal

Support: Zendesk

Via Zapier/Make:

Connect to 4,000+ platforms including: • Google Workspace (Sheets, Calendar, Drive) • Microsoft Office 365 • Slack, Trello, Asana • WordPress, Webflow • Custom apps via API

Webhooks & API:

Full REST API for developers to build custom integrations.

Try Spoki for Free

No credit card required

I accept the General Terms and Conditions and the processing of personal data related to the use of the Services pursuant to the Privacy Policy. *

I accept specific articles of the Client Agreement, the GDPR Data Processing Agreement, and the General Terms and Conditions. *