Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Go to Haptik Website
  • Contact Us
  • Home
  • Deployment
  • Bot as an API

What is Bot as an API?

Written by Medha Anand

Updated on November 17th, 2021

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Build Deploy Analyse Manage Account Bot Deactivation
  • Bot Building
    Essentials Smart Skills Steps User Messages Bot Responses Entities Connections Customisations User feedback collection Testing Whatsapp Bots NLU Bot Maintenance
  • Smart Agent Chat
    Set up Admin Settings MyChats Section (Agent Inbox) Live Traffic Section Teams Section Archives Section Analytics Plans on Smart Agent Chat
  • Conversation Design
    Design Basics Design Guides Designing for Platforms Designing WhatsApp Bots
  • Developer Guides
    Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
  • Deployment
    Web SDK WhatsApp Facebook Instagram Sunshine Conversation LINE Google Business Messages Telegram MS Teams Bot as an API iOS SDK Android SDK
  • External Agent Tool Setup
    Zendesk Chat Salesforce Service Cloud Freshchat Zoho NICE CXOne Gorgias
  • Analytics & Reporting
    Intelligent Analytics
  • Notifications
    SMS Notifications Success Measurement
  • Commerce Plus
    Catalog Integration Bot Building Guide Channel Deployments Unified ML Pipeline Documentation
  • Troubleshooting Guides
    Error Messages FAQs
  • Release Notes
+ More

Table of Contents

What is Bot as an API?What is Webhooks?

What is Bot as an API?

You can use Bot as an API deployment option to connect to a channel that is not currently supported out of the box on Haptik Platform.

Another big use of Bot as an API is when you want to capture the events happening on the bot such as, messages sent by the bot, conversation completed on the bot.

Bot as an API uses webhooks to deliver these events to the mentioned URL.

Example use case:

  • When you want to have a Haptik bot on Slack channel.
  • When you already have a bot and you want to redirect the user to the Smart Agent Chat tool of Haptik Platform.
  • When you want to generate a ticket in your CRM (Customer Relationship Management software) after the conversation between the user and bot is complete, the webhook event will deliver this event to your mentioned endpoint.

Briefly, this is how the integration works:

  • Your application receives the message from the user.
  • It then sends a POST request with that message to the callback URL of Conversation Studio tool of Haptik Platform.
  • Conversation Studio tool processes the message and sends a response to the webhook URL of your application.
  • Your application listens to the webhook and responds to the user.Diagrams
Delete

Webhooks provide functionality where a provider application can notify a client-side application when a new event has occurred on the provider's server. Webhooks are "user-defined HTTP/S callbacks", that allows two applications to communicate automatically.

A key difference between an API endpoint and a webhook is that in APIs, the client-side application calls the server-side application to retrieve some sort of information. Whereas, in the case of webhooks it is the server-side that calls the client-side application when a particular server-side event occurs.

This document will provide you with all pre-requisites and setup processes to help you create a bot on the Haptik platform and use Bot as an API deployment option. You can read about it in the subsequent sections.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How to create/update a Haptik User using API?
  • How to send message to Haptik using API?
  • Which information is sent as Webhook Payload?

Platform

  • Conversation Studio
  • Smart Skills
  • Advanced NLU
  • Intelligent Analytics
  • Omnichannel
  • Smart Agent Chat
  • Enterprise Security
  • Integrations

Solutions

  • Conversational Commerce
  • Lead Generation
  • Customer Care
  • WhatsApp
  • Conversational IVR
  • Google Business Messages

Industries

  • Retail/ E-Commerce
  • Financial Services
  • Travel & Hospitality
  • Telecom

Knowledge

  • ROI Calculator
  • Reports & Research
  • Case Studies
  • Webinars
  • ISAT
  • Tech Blog
  • Business Blog
  • Resources
  • Haptik v/s Yellow
  • Haptik v/s Liveperson
  • Haptik v/s IBM Watson
  • Haptik v/s Verloop
  • Conversations on AI

Company

  • Why Haptik
  • About Us
  • Careers
  • News & Media
  • Awards & Recognition
  • Contact Us
  • Partnerships
  • Investor Relations

Subscribe

Sign up to recieve the latest updates

Find us on

  • Twitter-footer
  • Linkedin-footer
  • YT-footer
  • Insta-footer
  • G2-footer
  • Facebook-footer

Knowledge Base Software powered by Helpjuice

Copyright © jio Haptik Technology Limited 2021 | Data Security & Privacy Policy | GDPR

North America | Asia Pacific | Africa | enterprise@haptik.ai

Definition by Author

0
0