Hi! I’m creating a Shopify flow action, there are 2 fields that I would like to receive:
- Order.id
- Fulfillment.id (if it’s provided by the trigger, it’s optional)
And I’m having problems with the second one, because the person who use my Action has to setup this field manually in the UI.
Is there anyway to set a default value for a custom field? For example, this is how my shopify.extension.toml looks like:
[settings]
[[settings.fields]]
type = "order_reference"
required = true
[[settings.fields]]
type = "single_line_text_field"
key = "fulfillment_id"
name = "Fulfillment ID"
value = "{{fulfillment.id}}" // This does not exist, but this would be the idea
required = false
So my action will have “{{fulfillment.id}}” as action input by default, if it’s provided by the trigger.
Is it possible to accomplish something like this?
Thanks!