Recognize text from a PDF into a document — via a bot

Send a PDF to the bot in WhatsApp Business Cloud: the scenario recognizes the text on every page, builds a moysklad document and sends the link.

  • Recognizes even scans
  • Text from every page, in order
  • A ready moysklad document
  • The link arrives in WhatsApp Business Cloud

How it works

To connect WhatsApp Business Cloud and moysklad, you don't need a developer: a ready-made scenario links them in minutes.

  1. Starts when: Telegram Bot Trigger
  2. Check: Check If Document Attached
  3. If yes: Download Document from Telegram
  4. Then: Upload PDF to Mistral AI
  5. Then: Get Mistral Signed URL
  6. Then: Process OCR with Mistral
  7. Then: Parse OCR Results by Page
  8. Then: Aggregate OCR Results
  9. Then: Create New Google Doc
  10. Check: Process Document Updates
  11. Then: Update Google Doc with Content
  12. Then: Send Document Link to User
  13. Then: Status: Creating Document (5/5)
  14. Then: Status: Results Received (4/5)
  15. Then: Status: File Signed (3/5)
  16. Then: Status: Sent to Processor (2/5)
  17. Then: Status: File Received (1/5)
  18. If no: Request PDF File Format

You can launch this WhatsApp Business Cloud + moysklad integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.