添加草稿订单标签
添加草稿订单标签操作可向触发工作流的草稿订单添加标签。
当您通过草稿订单创建订单时,此草稿订单的标签将转移并添加为订单标签。
字段
添加草稿订单标签操作包含以下字段。
字段 | 描述 |
---|---|
标签 | 要为草稿订单添加的标签。标签区分大小写。若要添加多个标签,请执行以下一项操作:
|
触发器
添加草稿订单标签操作具有由触发器添加的隐藏字段。草稿订单 ID 字段标识要为其添加标签的草稿订单。草稿订单 ID 由系统默认设置,无法更改。
添加草稿订单标签操作适用于以下触发器启动的工作流:
示例
在此示例工作流中, new
和 draft
标签将添加到所有新创建的草稿订单中。
API 详细信息
若要了解详细信息,请查看 tagsAdd 更改。
常见问题
Flow says that it added a tag but the tag isn't available in the Admin.
Reason: an app (typically) or Admin user overwrote the tag. This happens because many apps use the same events, such as Order created, as Flow. Flow often finishes first, and then other apps make edits that don't take into account the new tags.
Solution: the best solution would be for the app to have an action in Flow that you could call after Flow runs. If such an action isn't available, then you should contact the app to ask them how to avoid overwriting your tags. If you can't solve the issue with the app, then you can try inserting a "Wait" step in Flow to delay when Flow adds tags.