Chatbot education

👉 Chatbot videos

👩🏼‍🎓 Bot Academy

Activechat Essentials

Platform Basics

Messaging Channels

Visual builder

Bot settings

Integrations

Grow Tools

Bot examples

E-commerce Chatbots

E-commerce Basics

E-commerce Integrations

Displaying Products

Shopping cart

Payments

Accepting payments and sending invoices

Order updated

Sending order updates

Bot example

Sample Messenger store assistant

Advanced Chatbot Tools

Tracking site visits

Tracking code installation

Tracking page visits

Natural Language Chatbots

NLP Basics

Intents and Entities

NLP contexts

Building Dialogflow agent and connecting to Activechat

Sending user input to NLP engine

Triggering bot skills by intents and events

Working with entities

Slot filling

Using contexts

NLP best practices

Video tutorial

E-commerce Chatbots

Advanced Chatbot Tools

Tracking code installation Tracking page visits

Natural Language Chatbots

Intents and Entities NLP contexts Building Dialogflow agent and connecting to Activechat Sending user input to NLP engine Triggering bot skills by intents and events Working with entities Slot filling Using contexts NLP best practices

JSON block – Calling external APIs

Bots that cannot connect to external APIs and integrate into business frameworks, probably will stay nothing but a toy. To make your bot really useful for your customers we’ve developed integration system through JSON module. 

You can also use this block to call external API endpoints (Zapier is a perfect example) and fetch data from these endpoints to your bot.  

JSON

Paste external script address to block settings and choose calling method (GET or POST). Add parameters that you’d like to send with the call (you can use both constants and variables).

As a result this block will save received key-value pairs to bot variables and move on to the block that is connected to SUCCESS tab. On any error block connected to ERROR button will be triggered.

Example

In the example above bot is collecting user email address and phone number and sending these to Zapier webhook catcher, so they could be added to CRM or Google Sheets.

Let’s suppose that external script returns JSON of this structure (here’s an example from Zapier Webhooks integration):

After this call you will have new variables in your bot: $status$attempt$id and $request_id. Their values can be used in any other block since then (TEXT, DATA, SWITCH etc).

Currently we support plain JSON output with no nested objects. Objects and arrays will be supported soon.

Use cases

And finally, the most useful (and simple) use case is Zapier integration. Use Webhooks by Zapier to trigger Zaps that will be able to achieve multiple tasks:

  • send data to Google Drive
  • send e-mails
  • push data to CRM
  • publish Twitter and Facebook posts
  • create tasks in Google Tasks
  • send conversion data to Facebook
  • make requests to Firebase and PostgresSQL
  • send SMS
  • …and do thousand things more with Zapier.com