leviroiz.dev Back to the album
PT

Track 02 · Documented executionTOTVS Moda · ViaShop · Python for the catalog

TOTVS ↔ ViaShop

I built automations to process historical orders and organize product images. Each workflow had its own checks before and after processing.

Try the simulation in the album ↗
Photograph for the TOTVS and ViaShop case study

Verify the batch before and after writing.

Historical orders in controlled batches

The first workflow identified eligible orders, checked the rules and processed only items approved for the batch. It then read back the result to confirm the write and log exceptions.

Before processing
Check eligibility and confirm the mapping between systems. Any mismatch is flagged for review before an update is made.
After processing
Verify that the change persisted and check commercial availability. The isolated impact on stock has yet to be measured.
Read the public case study on orders ↗

Product photos by variant

A second workflow matched images to product references and variants, uploaded them in batches and flagged exceptions. The public case study records a monitored batch with confirmed uploads.

Read the public case study on images ↗

A separate routine downloaded photos by item reference and generated sales cards with original and sale prices.

43 sales cards · 45-page PDF

Under the hoodconstraints, steps and details

Three validation steps

  1. Confirm that the order is eligible for the batch.
  2. Validate the rules and the mapping between TOTVS Moda and ViaShop.
  3. Process the approved items and read back the destination data to verify that the update persisted.

Exceptions and scope

Mapping discrepancies go to review. The batch of variant photos has its own checks, and the catalog routine produces sales material for the wholesale team.

Next trackSales discount calculator