S E N S I B O T

Tracking Api Docs

 

API based on phone number – Without Flow Builder

 

A screenshot of a computer

Description automatically generated

 

That’s how we do it on SensiBot.io

 

A screenshot of a computer

Description automatically generated

 

Remember #phone# will send the phone number of customer (with country code) via API.

Variable based input

 

API based on numeric / alphanumeric Input – Without Flow Builder

 

A screenshot of a computer

Description automatically generated

A screenshot of a computer

Description automatically generated

 

Here system will consider (digits you mention) numeric / alphanumeric input as variable.

You can name this variable anything except phone in substring to be replaced column.

 

This substring should match with variable to be replaced in api request json

 

Suppose you get the response

{

  "msg": "Order Tracking",

  "data": {

    "multiple_orders": "",

    "toCity": "Noida",

    "fromCity": "Gurgaon",

    "brand_name": "CARTRENDS",

    "log": [

      {

        "courier_weight_in_gms": "0.50",

        "courier_code": "DLVD",

        "logistify_status_id": 10,

        "courier_msg": "Delivered",

        "courier_event_date_time": "2023-05-17T09:33:00.000Z",

        "current_location": "NOIDA, Delhi NCR, DELHI"

      },

  "error": false

}

 

Use this as reply message
Your order status is #data.log.0.courier_msg# on #data.log.0.courier_event_date_time# at #data.log.0.current_location#

System will automatically replace variables mentioned in #data#.