Can Tawk.to AI Chatbot Integrate with External Portal Login + OTP Verification + PDF Retrieval?

Hello Tawk.to Team / Community,

I would like to ask whether this workflow is possible using Tawk.to chatbot with API integration and webhook automation.

PROJECT SCENARIO:

We are planning to build an AI chatbot for customer support. Most users are government servants who frequently ask about their salary deduction records.

Workflow idea:

  1. User chats with chatbot via Tawk.to website widget.
  2. User provides:
    • Full Name
    • NRIC / Identification Number
  3. Chatbot sends the data to our backend API / middleware.
  4. Backend attempts to connect/login to an external portal:
    https://espga.sola.my/public/member/login
  5. For security purposes, an OTP will be sent to the user’s registered mobile number.
  6. User enters OTP into chatbot conversation.
  7. Backend verifies OTP.
  8. If successful:
    • retrieve deduction records
    • generate or fetch PDF statement
    • return PDF file to user directly in chatbot conversation

MAIN QUESTIONS:

  1. Does Tawk.to support this kind of API/webhook workflow?
  2. Can Tawk.to chatbot communicate with external backend APIs in real-time?
  3. Is it possible to send and receive secure OTP verification flow within chatbot conversation?
  4. Can chatbot attach/download PDF files dynamically from backend response?
  5. Does Tawk.to support custom middleware integration (Node.js / Laravel / Python backend)?
  6. Can chatbot maintain session/state during OTP verification process?
  7. Is there any limitation regarding secure authentication workflows?

TECHNICAL NOTES:

  • We understand Tawk.to itself is not the authentication system.
  • We plan to use custom middleware/API backend.
  • Tawk.to will mainly act as:
    • conversational UI
    • webhook trigger
    • message interface

We would appreciate advice on:

  • best architecture
  • webhook capability
  • API integration limitations
  • chatbot session handling
  • secure workflow recommendations

Thank you.