What's your biggest current challenge? Have your say in Community Polls along the right column.

Automatically enter 0 as the phone number if no phone number has been provided

Automatically enter 0 as the phone number if no phone number has been provided

dtubs
New Member
6 0 0

Hey guys, our shipping app requires a phone number to be put in for us to print the orders out, however we do not make phone numbers mandatory (and we would like to avoid doing so) however the shipping app we are using wont let us print out the order without inputting something in the phone number. Currently we are manually entering 0 for every orders

Reply 1 (1)

RPiii
Shopify Staff
93 16 33

Hi @dtubs, it may be possible to create a workflow that triggers when Order created, then a condition to check if the order.phone is empty, then a Send Admin API request action that uses an orderUpdate mutation to populate the order.phone value.