[ { "label": "Add a new variant to an order with the GraphQL action", "trigger_type": [ "order_created" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": { "2": { "type": "order_add_line_item", "settings": { "token_object_type": "order", "variant_id": "[VARIANT ID HERE]", "quantity": "[VARIANT ID HERE]", "allow_duplicates": 0, "inventory_location": "", "wait": "0", "cw_timezone": "America\/New_York", "custom_wait": "" }, "weight": 1009, "target_key": "order" } } } }, "shared_workflow_id": 261621 }, "description": "This workflow fires when an is created and then adds a pre-defined item to the order. It is suitable for merchants who are interested in adding a custom variant to orders after they have been created. \r\nProtip: The workflow won't work with multicurrency orders, archived orders, or orders that are older than 60 days because of API limitations." } ]