Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Documents, PDF & OCR

Documents, PDF & OCR

OCR Telegram Documents into SAP with OpenAI

When a document is sent on Telegram, OpenAI extracts its data, waits for confirmation on Telegram and then posts it to SAP, logging in Google Sheets.

What it does

## Waiting for an answer on telegram

The steps

  1. Wait
  2. Basic LLM Chain
  3. OpenAI Chat Model
  4. No Operation, do nothing
  5. Split Out
  6. Merge
  7. Callback Waiting Answer
  8. Answer?
  9. Connect to SAP
  10. Get Header
  11. Get Row Details
  12. Generate DocumentLines
  13. Create JSON
  14. POST PurchaseInvoices

27 steps in total.

Similar automations