Reekolect.ai Help Docs
  • 🏠Introduction
  • πŸ“’Reekolect Resource Center
    • πŸƒβ€β™‚οΈHow Reekolect works?
      • πŸ“–Starting with Reekolect
      • πŸ“–Bot Management
        • πŸ“–Create new Bot
          • πŸ“–Website, Live chat or Landing Page Bots
          • πŸ“–WhatsApp Bot Creation with Manual Onboarding
            • βœ…Prerequisites for WhatsApp Bots
            • πŸ”€Create a Meta App
            • βœ”οΈRegister & Verify your WhatsApp Number
            • πŸ”—Subscribe WA webhook with Reekolect
            • πŸ’³Update WA account Payment Method
            • πŸ¦Έβ€β™€οΈAssign System User to WhatsApp Account
            • πŸ“ƒGetting all the necessary details from Meta Developer Dashboard
          • πŸ“–Instagram Bot Creation
          • πŸ“–Facebook Bot Creation
          • πŸ“–Make Your Telegram Chatbot
          • πŸ“–Microsoft Teams Bot
        • πŸ“–Edit Your Chat Flow
          • πŸ“–Creating Multiple Flows
          • πŸ“–Components In Chatflow
            • πŸ“–Request Information
            • πŸ“–Send Information
            • πŸ“–Trigger Actions
        • πŸ“–Pre-Built Chatbot Templates
        • πŸ“–Train Your AI Chatbot
          • πŸ“–Train your AI chatbot using websites
          • πŸ“–Train your AI chatbot by uploading files.
          • πŸ“–Train your AI chatbot using Google Sheets.
          • πŸ“–Train your AI chatbot using frequently asked questions (FAQs).
          • πŸ“–Train your bot using the conversation history.
          • πŸ“–Train your AI chatbot using other sources.
        • πŸ“–Bot Settings
          • πŸ“–Website Bot settings
            • πŸ“–Design
            • πŸ“–General
            • πŸ“–Alerts
            • πŸ“–Triggers
            • πŸ“–User Access
            • πŸ“–Chat Window
            • πŸ“–AI Settings
            • πŸ“–Transfer Chat to WhatsApp Fucntionality
          • πŸ“–WhatsApp chatbot Settings
            • πŸ“–General
            • πŸ“–Alerts
            • πŸ“–WhatsApp Profile
            • πŸ“–AI Settings
          • πŸ“–Telegram Bot Settings
            • πŸ“–General
            • πŸ“–AI Settings
          • πŸ“–Instagram Bot Settings
          • πŸ“–Facebook Bot Settings
            • πŸ“–General
            • πŸ“–AI Settings
        • πŸ“–Marketing Automation
          • πŸ“–WhatsApp Template Setup
          • πŸ“–WhatsApp Catalog Setup
          • πŸ“–Broadcasts on WhatsApp, Telegram & Facebook
          • πŸ“–Drip Campaigns on WhatsApp, Telegram & Facebook
        • πŸ“–Install your Website Chatbot
        • πŸ“–Widget
        • πŸ“–Email Validation
        • πŸ“–Customizing your Landing Page Bot
        • πŸ“–Customize Chat Window
        • πŸ“–AI Settings
        • πŸ“–3rd Party Apps Integrations
          • Agile CRM integration with Reekolect
          • Apptivo CRM integration with Reekolect
          • Autopilot CRM integration with Reekolect
          • Bitrix24 CRM Integration with Reekolect
          • CalendarHero integration with Reekolect
          • Capsule CRM integration with Reekolect
          • Chakra CRM integration with Reekolect
          • Close CRM integration with Reekolect
          • Copper CRM integration with Reekolect
          • Drip CRM integration with Reekolect
          • EngageBay CRM integration with Reekolect
          • Drip CRM integration with Reekolect
          • ExtraaEdge integration with Reekolect
          • FirstPromoter integration with Reekolect
          • Flowlu integration with Reekolect
          • Freshworks CRM integration with Reekolect
          • Freshdesk CRM integration with Reekolect
          • Frontapp integration with Reekolect
          • GetResponse integration with Reekolect
          • Go High Level Integration with Reekolect
          • Google Analytics integration with Reekolect
          • Google Calendar Integration with Reekolect
          • Google Contacts Integration with Reekolect
          • Google Tasks integration with Reekolect
          • Groove CRM integration with Reekolect
          • Google Sheets integration with Reekolect
          • Helpcrunch CRM integration with Reekolect
          • HelpShift integration with Reekolect
          • Hubspot CRM integration with Reekolect
          • Infobip CRM integration with Reekolect
          • Jira CRM integration with Reekolect
          • Insightly CRM integration with Reekolect
          • MoEngage CRM integration with Reekolect
          • NetHunt integration with Reekolect
          • Nimble CRM integration with Reekolect
          • Nutshell CRM integration with Reekolect
          • Onpipeline integration with Reekolect
          • Nocrm integration with Reekolect
          • Pipedrive CRM integration with Reekolect
          • Salesflare CRM integration with Reekolect
          • SendInBlue integration with Reekolect
          • Shipway Integration with Reekolect
          • Wealthbox CRM integration with Reekolect
          • SupportBee CRM integration with Reekolect
          • Zendesk CRM integration with Reekolect
          • Zoho CRM integration with Reekolect
          • Zoho Desk integration with Reekolect
          • Zoho Projects integration with Reekolect
      • πŸ“–Inbox
        • πŸ“–Managing Contacts, Chats & Conversation
        • πŸ“–Chat Windows
        • πŸ“–Orders
        • πŸ“–Contracts
        • πŸ“–Real-time Interactions
        • πŸ“–Creating Groups
      • πŸ“–Analytics
      • πŸ“–Teams
        • πŸ“–Departments
        • πŸ“–Business Hours
        • πŸ“–Team
        • πŸ“–Using Teams in Chatflows
      • πŸ“–Subscriptions
      • πŸ“–My Account
        • πŸ“–Configure Custom Attribute
        • πŸ“–Configure Tags
        • πŸ“–Configure Chat Status
      • πŸ“–Notifications
    • ❓Frequently asked questions (FAQs)
      • Onboarding FAQs
      • Bot Installation FAQs
      • Inbox FAQs
      • Profile, Team & Notifications FAQs
      • Analytics FAQs
      • Chat Flow FAQs
      • Bot Settings FAQs
      • WhatsApp FAQs
      • Subscription FAQs
      • ChatGPT FAQs
    • πŸ› οΈCommon Errors & Troubleshooting
  • πŸ“–Product Guides & Training
    • πŸ‘©β€πŸ’»WhatsApp Cloud API by Meta
      • βš™οΈSetting Up Your Facebook Business Manager
      • πŸ’°Meta Conversation Pricing for WhatsApp Cloud API
      • πŸ‘§Update WhatsApp Bot Profile
      • βœ…Getting a green tick on WhatsApp
    • βš™οΈWhatsApp Bot Creation with Automated onboarding
    • πŸ’‘Must know-how of Reekolect
      • πŸ”€Manage & Use Custom Attributes
      • πŸ–₯️Call external APIs in your chat flows
      • πŸ‘¨β€πŸ’ΌManging team roles & Users
      • πŸ“¨Send WhatsApp notifications using the Reekolect APIs
  • πŸ› οΈAPI References
    • πŸ“„Contacts & Chats APIs
      • Get All Contacts
      • Getting Groups/Segments
      • Add WhatsApp Contact
      • Delete WhatsApp Contact
      • Website Contacts & Meta Data
    • πŸ“„WhatsApp Cloud API
      • GET Templates List
      • POST WhatsApp Template Message
      • POST Send Message API
Powered by GitBook
On this page
  • What is an external API?
  • Types of APIs
  • Workflows of using APIs in ChatFlow
  • Using APIs in the Chatflows
Export as PDF
  1. Product Guides & Training
  2. Must know-how of Reekolect

Call external APIs in your chat flows

This page contains information about how you can call external APIs in your chat flows.

PreviousManage & Use Custom AttributesNextManging team roles & Users

Last updated 3 months ago

Currently, the API chat component is only being supported for WhatsApp Bot, Coming soon for the rest of the channels.

What is an external API?

An external API (Application Programming Interface) refers to a set of rules and protocols that allow one software application to interact and communicate with another external software system, service, or platform. It enables different software programs to access and exchange data and functionalities seamlessly, even if they are developed by different organizations or run on different servers.

Types of APIs

There are several types of APIs, each serving specific purposes and use cases.

We are currently supporting the JSON-based RESTful APIs with the API key, JWT Token, or public APIs

Workflows of using APIs in ChatFlow

Here is the flow for using the APIs in the Chatflows

Workflows of using APIs in ChatFlow

Using APIs in the Chatflows

To seamlessly integrate APIs into your chat flows in Reekolect, follow these steps:

Step 1: Access the Reekolect Dashboard

  • Log in to your Reekolect account and access the dashboard.

Step 2: Navigate to the Developers Section

  • From the side navigation bar, locate and click on "More."

  • Within the "More" section, select "Developers."

Step 3: Prepare Custom Attributes

  • Before proceeding, ensure you have added all the necessary custom attributes that you'll require for the API interactions. Custom attributes will help capture and manage data. Refer to the doc before creating and managing the custom attributes

Step 4: Add a New API

  • In the "Developers" section, find "Your APIs" and click on "Add API" at the top right corner.

Step 5: Configure Your API

  • Under "Configure APIs," set the following details. The structure is similar to Postman for testing APIs:

    • API Name: This is the display name for the API, used for better readability within Reekolect.

    • API Method: Specify the HTTP method (e.g., GET, POST, PUT).

    • Enter API URL: Provide the URL for the API you intend to call.

    • Query Parameters: Add any required query parameters.

    • Headers: Include necessary headers for the API.

    • Body: Define the request body if needed.

Note: If you want to insert custom variables within the API, use "/" as a placeholder. However, for the initial setup, you'll need to enter the actual values to test the API and save the response structure.

Step 6: Test the API

  • Proceed to "Manage API Response" and click on "Test" the API with actual values. This will help Reekolect understand the API response structure.

Step 7: Map API Response to Custom Attributes

  • In the "Manage API Response" tab, you can map the API response variables to your Reekolect custom attributes.

Step 8: Replace Actual Values

  • If required, replace the actual values in your API configuration with the custom attributes that you've mapped.

Step 9: Access Your Chatflow

  • Navigate to your Bot's chatflow by clicking on "Edit your Chatflow" under the "Bots" section.

Step 10: Select the "API" Chat Component

  • In the list of chat components, choose the "API" chat component.

Step 11: Call the API

  • In the right panel, call the API by selecting the API you've configured earlier by its name.

Step 12: Map the next Questions

  • Map the next question based on your API's response code (e.g., 200, 300, etc.). If the API response code doesn't match any predefined values, it will trigger the response mapped to "others."

And you're done! Your API is ready to enhance your chatbot's functionality and provide dynamic interactions based on API responses.

πŸ“–
πŸ’‘
πŸ–₯️
πŸ”€Manage & Use Custom Attributes