Item Label: Sample Use Cases & Flows

This article presents possible use cases and corresponding sample flows that you can support. It provides a useful starting point as you plan your implementation.

Sync pizza menu across all sites

If you have several pizzeria sites, you might need to sync menus across those sites. For example, if there is a new label for the pizza called "Spicy (Level 3)", this change also needs to be reflected on other sites.

To sync the pizza menu across all sites:

  1. Call Query Labels by the name field on the site where you updated the menu.
  2. Extract the, labels.id, labels.name and labels.icon field values.
  3. Call Create Label for your other sites and pass the new item label to each.
  4. Call Update Item and add the new label ID to the item.labels array.
Did this help?