Shopify internal meta field update using Shopify Flow

Hey Shopify Community,

I am using Shopify Flow and I just want to know about the possibility of updating Shopify internal fields like “CUSTOMER_NOTE” using Shopify Flow. Can we use Shopify Flow to update internal fields in Shopify.

What I meant is that, I want to make an automation that updates “CUSTOMER_NOTE” value to the value of “ADDRESS.PHONE”. is there any possibility of that?

There’s an Update Order Note action that updates the Note on the order. Is that what you meant?

You can use the Update customer note action. You can use variables in the note field to add phone numbers or other customer information. Clicking Add a variable and choosing Customeraddressesphone gives the following result.

there are two fields on which I want to work. First is the customer.phone
and second is that customer.note so I want to make ot such that if there is
any value in customer.phone I want to duplicate the value into
customer.note also. I tried doing Shopify Flow but I’m not sure will that
work or not. If there is any way so please let me know.

thanks

hey thanks for your reply on this.

But I’m not sure that the Shopify Flow functionality is working or not.
Because I have tried updating the attributes but in Shopify Flow there was
not any error it executed successfully but there was no any change in
requested attribute. I’m also not sure that can we use Shopify Flow to
update or manipulate Shopify’s internal meta fields.

thanks for your help, please let me know if there is any way to do this.

hey Jeff-Armstrong,

Can you share me a step by step process I mean how to setup this Because I think I am missing something in here. Or could you please share me proper screen shot of this,

Thanks

Can you share screenshots of your workflow and the workflow run log? It’s difficult to know what’s going wrong without more detail.

You can update metafields with Flow. For example the Update customer metafield action.

hey Jeff,

ok in short if I explain you what I want to do is I want to update customers’ phone number from their default address details. I have created shopify flow to achieve the same and test flow ran successfully but metafield did not get updated.

This is my Test Flow. Trigger is When there is an order creation. First Check if Default address has Phone value. and then update customer phone with the default address’s phone value.

It gave me this output.

But what I can see is that customer phone number is not updated yet.

could you please see what’s the issue am I lacking something in Flow!

The problem is that you’re trying to update the customer’s phone field, but you’re using Update customer metafield which updates the customer metafields, not the customer fields. You can read more about metafields here.

Flow doesn’t have an action that can update the customer.phone field. Here are some options:

  • create a metafield and update that metafield using Update customer metafield

  • add a tag using Add customer tag

  • update a customer note using Update customer note

  • update the phone field on the customer like you want, but using the Send HTTP Request action and use the customerUpdate graphql mutation. See the Flow documentation on Send HTTP Request which includes an example of calling the graphql Admin API.