Flow_action not appearing in Flow

Hello,

I am building a Shopify embedded app which updates some variant metafields for all products in the store in a certain way. Currently I want to use it in my store only, but maybe I will make it public later. So I installed it using a link from Shopify Partners dashboard, a link which was generated specifically for this store. I don’t use the development store, I only use my live store.

Problem:
I created a flow_action extension to be able to schedule the updating those metafields from the Flow app, but it is not appearing in Flow actions. The only file that was added is:
extensions/update-prices-on-all-variants/shopify.extension.toml
Where I specified those fields:

[[extensions]]
name = "Update prices on all variants"
handle = "update-prices-on-all-variants"
type = "flow_action"
description = "foo"
runtime_url = "bar"

Then I did shopify app deploy and pushed the code to the repo. I can also see this extension in Shopify Partners. I tried reinstalling the app. Still can’t see this action in Flow. What am I missing?
I followed this article:

Hi @Vladyslav_Bilousov

You can’t selectively publish an Extension to only a specific store. However, you can publish your extension to a specific app that is only installed on your specific store.

That way you can limit your new extension to only be used by a single store.

You can use the shopify app config link to link your current code base to a specific app in your Partner dashboard.

I like to rename my shopify.app.toml files to specific apps, so that way I can publish changes to a development store for testing, then to CI, then to production.

You can pass the --config flag to commands like shopify app build and shopify app deploy to define which toml should be used for that build. That way you can isolate which build goes to which app.

1 Like

@Dylan Hi Dylan, thank you for your answer. The thing is, I am ok to publish this action for all stores (only my store is using the app right now anyway, because distribution setting is set to a link installation). And I think I did everything I need to publish it. But I can’t see it in Flow.
UPDATE: If I run npm run dev ... locally and turn on the setting from the screenshot below, I can see this action in Flow app of my development store. But I want it on my normal store. So I guess the action itself is configured correctly, but it is only limited to development stores? Also my app is not public, it has not been checked by Shopify, it is not in the app store. Could that be a problem? Maybe only published apps can activate Extensions? Or am I doing something wrong?

Unpublished apps are ok. If it’s a custom app, you can only use Flow extensions if you are a Plus or dev shop.

Have you deployed your changes to the app and is that app installed in your shop?

Got it, thanks. I don’t have a Plus and the shup is live, so I think this is the reason

@Vladyslav_Bilousov were you able to find the solution? I did installed flow action and I can’t see any field changes on my store. I am creating a public app.

[[extensions]]
name = “Send Whatsapp Messages”
handle = “send-whatsapp-messages”
type = “flow_action”

description = “Send WhatsApp messages to customers”
runtime_url = “https://notify.craftconcept.co/api/save-message

[access_scopes]

Learn more at App configuration

scopes = “read_products,write_products,write_discounts,write_pixels,read_customer_events,read_product_listings,write_product_listings,read_customers,write_customers,read_validations,write_validations,read_locations,read_inventory,read_content,write_content,read_themes,read_orders,write_orders”

[settings]

[[settings.fields]]
type = “customer_reference”
required = true

[[settings.fields]]
type = “single_line_text_field”
key = “country_code”
name = “Country Code”
description = “Enter the country code (e.g., 44 for UK, 1 for US)”
required = true

[[settings.fields]]
type = “single_line_text_field”
key = “phone_number”
name = “Phone Number”
description = “Enter the phone number without country code”
required = true

[[settings.fields]]
type = “multi_line_text_field”
key = “message”
name = “Message”
description = “Enter the WhatsApp message to send”
required = true

This is my current file for extension. shopify.extension.toml

any help would be appreciated @paul_n

Hi. I do not remember my problem, but as far as I understood from the conversation, I could not see the flow action because shopify Plus is required for this. I still do not have it, so I do the mentioned update manually sometimes

So how do you manually update ? I am doing shopify app dev but nothing changes on the store.

We have recently encountered that the existing setup of Shopify Flow Triggers/Actions in our dev stores are not searchable anymore, whereas those in production are.

Please take a look @shopify

2 Likes