When your Shoptet e-shop is connected through our add-on, Flow is not limited to the data Retino imports. It works with Shoptet directly: it reads an order or a product, creates an order, changes its status, adds a note to it and issues a credit note.
Before you start: You need Flow, which is included in the Advanced and Enterprise plans (see How Flow works), and an e-shop connected with the Retino add-on for Shoptet. There is nothing else to switch on.
What Flow can do in Shoptet
The AI editor builds these steps from your brief, just like any other step. In the graph and in the Configuration tab, their technical names start with shoptet_. Each completed step costs 1 credit, like any other Flow step.
Reading from Shoptet
Order: the current order detail, including data Retino does not import: company ID and VAT number, order source (such as a marketplace), notes and additional fields, pickup point, item VAT rates and the Shoptet status.
Product: by product or variant code, it loads all the product's categories, its brand, and its variants with stock and price.
Customer's orders: by email, it loads the customer's orders, newest first and up to 100, plus their total number of orders.
Changes in Shoptet
New order: creates an order, for example for replacement or missing goods.
Order status: moves the order to another status and can mark it as paid.
Note: adds text to the order's internal note, which the customer does not see, or fills in additional fields 1–6.
Credit note: issues a credit note for the ticket's order, just like from the ticket detail, including the PDF and an entry in the ticket history.
The editor loads order statuses, shipping and payment methods from your Shoptet itself, so you can refer to them by name in your brief.
Example briefs
You write | Retino does |
Assign claims from company orders (with a company ID) to Peter. | Loads the order from Shoptet and splits tickets by company ID. |
Tag returns from customers with more than 5 orders as VIP. | Loads the customer's order history and adds the tag based on the count. |
Assign claims for products in the Electronics category to a technician. | Loads the ticket's products from Shoptet and splits tickets by category. |
When a customer reports a missing item, create a Shoptet order for that product at 0 CZK with Zásilkovna shipping and no Shoptet email. | Creates a replacement order, finds the shipping method by name and suppresses the Shoptet email. |
Once a return is resolved, add the ticket code to the order and move it to the Returned status. | Adds an internal note and changes the order status in Shoptet. |
For an approved return, issue a credit note for the returned products and deduct 89 CZK for return shipping. | Issues a credit note with a line that deducts the return shipping. |
Several Shoptet e-shops
One Flow serves all your e-shops. For tickets and orders, it always works with the e-shop the order comes from.
Only one e-shop: say so in your brief. The editor loads the list of your e-shops itself and limits the Flow with a condition.
Flow without an order: when a Flow does not work with an order, for example when it is started by a webhook, say in your brief which e-shop it should use.
Vouchers: Flow issues a discount coupon in the e-shop the ticket's order comes from. If the ticket has no order and you have several e-shops, say which one to use. Otherwise the step fails rather than creating the coupon in the wrong e-shop.
What to watch out for
Credit notes
What it credits: the ticket's products in their quantities, or only the ones you specify in your brief. It matches them by product code on the order's first invoice.
Shipping and fees: it does not add shipping, a payment fee or a return shipping deduction on its own. If you want them, include them in your brief.
When nothing is created: when the order has no invoice, a product is not on the invoice, or a ticket product has no code. The step fails and no credit note is issued.
Restocking and variable symbol: these follow your credit note settings; you can ask for different values in your brief. It cancels items in the Shoptet order only when you credit the full invoiced quantity.
Email to the customer: the customer receives an email with the credit note PDF. If you do not want that, say so in your brief.
Invoices with a discount: When the invoice contains a discount coupon or a volume discount, Flow does not issue the credit note and the step fails. It cannot split the discount correctly, and the credit note would exceed what the customer paid. Issue such a credit note manually from the ticket detail, as described in Credit notes.
New orders
Behaves like a regular order: Shoptet emails the customer, deducts stock and issues documents according to your e-shop settings. You can switch any of this off in your brief.
No duplicates: when the order gets a unique external code, such as the ticket code, Shoptet rejects a second order with the same code. A repeated run therefore does not create a new order. To be sure, mention it in your brief.
Required fields: when your e-shop requires more data, such as a phone number, Shoptet rejects the order and the step fails with Shoptet's message.
Watch out for loops: A new order is imported into Retino like any other and starts the Flows that react to incoming orders. Do not start a Flow that creates orders on incoming orders, or it will keep creating more and more orders.
Statuses and notes
Shoptet emails and documents: when the status changes, Shoptet sends and issues whatever is set up for that status. If you do not want them, say so in your brief.
Status name: Flow looks the status up by its exact name. If you rename a status in Shoptet, update the Flow as well.
Note: the text is appended to the existing note. If someone edits the note in the Shoptet admin at the same moment, their change may be lost.
When a step fails
The run ends in the Failed status, and you will find the reason in its detail under Settings → Workflows → Runs. The most common errors:
Error in the run | What it means and what to do |
| The add-on is missing permissions. Grant them as described in Shoptet add-on insufficient permissions. |
| The add-on is uninstalled or suspended in Shoptet. Check it in the Shoptet admin under Connections → Addon Manager. |
| Shoptet has temporarily limited the number of requests. This is a limit on Shoptet's side; wait a moment. |
| The invoice contains a discount. Issue the credit note manually from the ticket detail. |
| A ticket product is not on the invoice or has no code. Fix the products in the ticket, or issue the credit note manually. |
| The order has no invoice. Issue one in Shoptet. |
| Shoptet rejected the order; the reason follows the colon in the error. Most often a required field is missing. |
| The e-shop has no status with this name. Correct the name in your brief. |
