Shopify Flow - Title Color > Autofill Variant

Topic summary

A user wants to create a Shopify Flow automation that detects a color keyword (e.g., “Blue”) in a product title and automatically populates that color into the product variant’s color field.

Initial Approach:

  • The user attempted a setup but provided limited details about what isn’t working.
  • An image was shared showing their Flow configuration, but specifics of the failure weren’t described.

Recommended Solution:

  • Use the “Product variant added” trigger instead of “Product created”
  • Add a condition checking if productVariant.title contains the color keyword (e.g., “Blue”)
  • Configure a “Send Admin API request” action with GraphQL mutation
  • Structure the input to update the variant’s options array with the detected color

Status: The discussion remains open with the user needing to implement the suggested trigger change and API request configuration. No confirmation yet on whether the proposed solution resolves the issue.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Hello, I am trying to set up the following:

Product Created > Title colour = Blue (Example color) > Autofill Product variant color to Blue

I thought it could be this but not having much luck…

What is not working? There isn’t much to go on here.

You probably need a “Product variant added” trigger instead, then a condition to check if the productVariant.title includes “Blue”.

Then you’ll need to configure the Send Admin API request action appropriately. If you’re storing the color as an option on the productVariant then you probably want your input to look something like this:

input: {
    id: "{{productVariant.id}}",  // Variable uses the variant ID from the trigger
    options: ["Blue"]  // Replace with the new color and/or other options
  }