# luc45-pereira/auto-python-slaviero architecture

> Architecture diagram of the GitHub repository luc45-pereira/auto-python-slaviero, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/luc45-pereira/auto-python-slaviero
- Repository: https://github.com/luc45-pereira/auto-python-slaviero

## Overview

RobL.py automates Mercado Livre seller-question handling for Ford Slaviero: it checks incoming questions, looks for a chassis number, uses the Ford catalog to identify a part, and replies with fitment guidance or asks the customer for the missing chassis. The README documents the workflow; sampled code confirms browser-based catalog access and answer submission. The implementation is concentrated in one script, so these nodes represent its documented responsibilities, not separate modules.

Main entry points: [`RobL.py`](https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py) (Reply automation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_question_handling["Question handling"]
  node_automation["Reply automation<br/>[RobL.py]"]
  node_question_queue["Seller questions<br/>[RobL.py]"]
  node_chassis_check["Chassis check<br/>[RobL.py]"]
  node_request_chassis["Request chassis<br/>[RobL.py]"]
  node_fitment_reply["Fitment reply<br/>[RobL.py]"]
end

subgraph group_catalog_lookup["Catalog lookup"]
  node_chassis_search["Chassis search<br/>[RobL.py]"]
  node_part_code["Part code lookup<br/>[RobL.py]"]
  node_part_search["Part search<br/>[RobL.py]"]
end

subgraph group_integrations["External services"]
  node_marketplace{{"Mercado Livre"}}
  node_ford_catalog{{"Ford catalog"}}
end

node_automation -->|"opens questions"| node_marketplace
node_marketplace -->|"provides questions"| node_question_queue
node_question_queue -->|"checks for chassis"| node_chassis_check
node_chassis_check -->|"missing chassis"| node_request_chassis
node_request_chassis -->|"submits reply"| node_automation
node_chassis_check -->|"chassis found"| node_chassis_search
node_automation -->|"opens catalog"| node_ford_catalog
node_chassis_search -->|"searches chassis"| node_ford_catalog
node_ford_catalog -->|"returns part code"| node_part_code
node_part_code -->|"searches part"| node_part_search
node_part_search -->|"informs fitment reply"| node_fitment_reply
node_fitment_reply -->|"submits answer"| node_marketplace

click node_automation "https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py"
click node_question_queue "https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py"
click node_chassis_check "https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py"
click node_request_chassis "https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py"
click node_fitment_reply "https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py"
click node_chassis_search "https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py"
click node_part_code "https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py"
click node_part_search "https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_automation,node_question_queue,node_chassis_check,node_request_chassis,node_fitment_reply toneBlue
class node_chassis_search,node_part_code,node_part_search toneAmber
class node_marketplace,node_ford_catalog toneMint
```

## Components

### Question handling

- [Reply automation](https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py): `RobL.py`
- [Seller questions](https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py): `RobL.py`
- [Chassis check](https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py): `RobL.py`
- [Request chassis](https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py): `RobL.py`
- [Fitment reply](https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py): `RobL.py`

### Catalog lookup

- [Chassis search](https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py): `RobL.py`
- [Part code lookup](https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py): `RobL.py`
- [Part search](https://github.com/luc45-pereira/auto-python-slaviero/blob/main/RobL.py): `RobL.py`

### External services

- **Mercado Livre**
- **Ford catalog**

## Connections

- Reply automation → Mercado Livre: opens questions
- Mercado Livre → Seller questions: provides questions
- Seller questions → Chassis check: checks for chassis
- Chassis check → Request chassis: missing chassis
- Request chassis → Reply automation: submits reply
- Chassis check → Chassis search: chassis found
- Reply automation → Ford catalog: opens catalog
- Chassis search → Ford catalog: searches chassis
- Ford catalog → Part code lookup: returns part code
- Part code lookup → Part search: searches part
- Part search → Fitment reply: informs fitment reply
- Fitment reply → Mercado Livre: submits answer
