Skip to main content

Endpoints

URL Queries

Cleiry can also be configured to query 3rd party APIs if the URL Queries section is configured. This opens up the potential for you to configure any chatbot to do agentic actions. Potential use cases include:

  • Appointment booking chatbot: Whenever the AI Chatbot detects the user wants to book an appointment, the AI Chatbot can decide to invoke the configured calendar API to fetch available time slots. Then when the user responds with a selected time slot, the AI Chatbot can decide to create a contact in the CRM and send email / WhatsApp / SMS notification.

    • Possible APIs include:
      • Google Calendar API
      • CRM API
      • SMTP email API
      • WhatsApp/SMS API
  • Social media management chatbot: An AI Chatbot can be created for internal use to query Facebook and other social media API to fetch answers faster about the engagement of Facebook page, query other Facebook pages, or even create a post or comment after retrieving insights from your website’s API, e.g. querying the best slow selling products from your ecommerce site’s API and asking the AI Chatbot to create a Facebook post to promote a relevant promo code in your website.

    • Possible APIs include:
      • Meta Graph API
      • Your ecommerce website’s API
  • Natural language API backend: With an AI Chatbot and its auto created API, you can use it as an AI powered backend to power your mobile app or web application to intelligently query your database. Transform natural language questions into API calls for your custom API and have the chatbot respond with insights based on our own data.

    • Possible APIs include:
      • Your own backend/database’s API
  • And many others, depending on your creativity

To configure a URL query, specify the URL and use placeholders for parameters that are required. E.g. search={{query}} is a GET param for a search term. Then in the Params Schema, describe the query variables so the AI Chatbot knows what to replace it with and what type of data it is. You can also include additional optional parameters in the Params Schema.