Gå til indhold
Dansk
  • Der er ingen forslag, da søgefeltet er tomt.

Autoproff - File cleanup

cleanup.hubspothooks.sunrise.dk

  1. In HubSpot, there is a workflow that will send a company ID to this middleware
  2. Receiver with store it in database queue
  3. Cron will regularly read the queue and find companies in it
  4. For each of them, it will pull associated deals
  5. For each of these deals, it will pull "business_registration_document" and "identity_card" from HubSpot
  6. It will then find file IDs for these two files using and store them in another database queue
  7. It will remove the company from first queue
  8. Second cron will then remove the files in HubSpot and update the deal with message "Removed - Can be found in Penneo"