|
|
4 周之前 | |
|---|---|---|
| .. | ||
| README.md | 4 周之前 | |
| get_car_data.json | 6 月之前 | |
| get_order_data.json | 4 周之前 | |
| get_payment_methods.json | 4 周之前 | |
| get_product_compatibility.json | 4 周之前 | |
| get_product_data.json | 4 周之前 | |
| get_shipping_data.json | 4 周之前 | |
| new_ticket.json | 4 周之前 | |
Live exports of the custom tools configured in Flowise
(https://botek.easyklima.com, chatflow 09fc9332-8cdd-4142-8f0e-4259881fc7bf).
Kept in the repo so the relay's response contracts and the tool code can be
reviewed together. Changing a /tools/* response shape means updating the
matching tool here and in Flowise.
| File | Relay endpoint | Notes |
|---|---|---|
get_order_data.json |
POST /tools/get_order_data |
Reads contact_email: out of the [CONTACT_INFO] block the relay prepends to question. Relies on code:"UNAUTHORIZED" to drive its e-mail-mismatch retry prompt. |
get_product_data.json |
POST /tools/get_product_data |
Handles both a single object and an array; filters kits vs single products. |
get_shipping_data.json |
POST /tools/get_shipping_data |
Calls twice: once without zoneId for the zone list, once with it for methods. |
get_payment_methods.json |
POST /tools/get_payment_methods |
Renders data[].title. |
get_product_compatibility.json |
POST /tools/get_product_compatibility |
Drives brand/model/engine/product disambiguation loops. |
get_car_data.json |
POST /tools/get_car_data |
Older export; no newer version available from the panel. |
new_ticket.json |
POST /tools/new_ticket |
Takes conversationId only from $flow.sessionId (chatwoot:<id>), never from the model. |
Every tool needs two Flowise variables:
$vars.relay_base — https://eks-relay.easyklima.com$vars.relay_shared_secret — the relay's RELAY_SHARED_SECRET