Skip to main content

Automation rules – Overview and creating a rule

Let Retraced find the orders that need action and start Tracing for you every day.

The Automation Rules is where you set up rules that act on your orders automatically. A rule watches for order lines in the Orders hub that match the conditions you choose, then sends them to Tracing or to Certified Materials — so you don’t have to do it by hand for every order.

Why it matters

  • Less manual work. Instead of reviewing and sending orders one by one, let rules handle the repetitive cases for you.

  • Consistent handling. Every order that matches a rule is treated the same way, so nothing is missed or sent with the wrong settings.

  • Scales with your volume. As more orders flow into the Orders hub — including those sent through the API — rules keep them moving without extra effort.

  • You stay in control. A rule only acts on the orders you define, and you can turn any rule on or off at any time.

How a rule works

Every automation rule has three parts:

  • Conditions — which order lines the rule applies to, such as the supplier, custom tags, the linked style or dates on the order.

  • Actions — what happens to a matching order, such as sending it to Tracing or to Certified Materials. (coming soon)

  • When it runs — each rule runs once a day at a time you choose.

Create a rule

  1. Click Automation Rules in the sidebar, then click Create Rule.

  2. Under Describe your rule, write what the rule should do, for example “Every day at 9am, find orders tagged risk-team-flagged and start tracing”, then click Generate draft. Retraced fills in the name, conditions and run time for you, so you can go straight to step 6. Check every field before you save, especially the Workflow action, which the draft may leave empty.

  3. To set up the rule manually instead, name the rule so your team can tell at a glance what it does.

  4. Set the conditions. Click + Add condition and choose:

    • a field, for example Supplier, Custom Tags, Style Main Raw Material or Shipping Date;

    • an operator, for example is, is not, contains;

    • a value.

    For date fields, choose Relative (a number of days before or after today) or On date. Example: Shipping Date — more than — 30 days before today. To add more conditions, click + Add condition again and choose AND (all must match) or OR (any can match). Use + Add group to group conditions together.

  5. Choose when it runs. Under Trigger when, pick the time of day. The rule runs daily.

  6. Check the matches. Click Run preview to see how many order lines match right now.

  7. Choose the action. Under Workflow action, select Start Tracing Request. Keep the Tracing Template on Use order / account default, or pick another template. The This action needs list shows what each order line must have. Lines that miss something are blocked instead of sent.

  8. Click Create & Activate to start the rule, or Save as Draft to activate it later.

    💡 You can have up to 10 rules. The number in use is shown above the list, for example 5 of 10 rules used. To raise the limit, contact your Customer Success Manager.

Example rules

  • Send ready orders to Tracing. When an order has everything Tracing needs, send it to Tracing — so ready orders never wait for someone to send them.

  • Send certified orders to Certified Materials. When an order needs Transaction Certificates, send it to Certified Materials automatically.

  • Apply the right tracing template. When an order line matches a supplier or a custom tag, send it to Tracing with the matching tracing template.

  • Act on dates. Act on an order a set number of days before or after one of its dates. For example, start tracing 30 days after the shipping date, or ask for Transaction Certificates 90 days after the delivery date.

Key concepts

  • Conditions vs. actions: conditions decide which orders a rule touches; actions decide what happens to them.

  • Orders hub and Automation Rules work together: the Orders hub holds your orders; Automation Rules decide what happens to them automatically.

Next steps

Did this answer your question?