OCR receipt pictures in gdrive folder and send result to Slack   (gdriveslack)
One script reply has been approved by the moderators

0 points by fatonramadani 57 days ago edited 6 days ago | embed

Edit/Run in Windmill
Flow rendered
Json
Input schema of the flow

OCR receipt pictures in gdrive folder and send result to Slack

When new expenses are uploaded to Google Drive, the flow downloads the image, extracts the text using Tesseract, finds the date and price of the expense and finally sends warning messages on Slack if the expense was made during the weekend or is above a given threshold.

Inputs

  • channel* (string)

  • folderId* (string)

  • slack_auth* (object, format: resource-slack)

  • gdrive_auth* (object, format: resource-gdrive)

2 Steps

  • 1
    Watch for new files in gdrive folder

  • 2

    For loop over all the elements of the list returned as a result of step 1:

    4 Steps