Skip to main content
Question

Trouble mapping custom product page links into automated Gmail shipping updates

  • July 8, 2026
  • 4 replies
  • 33 views

Hello, I am building a workflow to send custom post-purchase care emails to customers via Gmail after they buy specific premium gear from our site.

I want the email to dynamically include the exact care instructions link based on what they bought. For example, if they purchase a technical item like this forclaz jackets, they need a specific care guide link injected into the body text.

Right now, I have a Lookup Table step in Zapier to match the product name to the URL, but the Zap keeps failing at the Gmail step, saying the mapped output field is empty. It seems like the lookup isn't matching the exact text string properly.

Has anyone faced this issue with Lookup Tables? Is it better to use a Webhook or Python code block instead to parse the product name? Thank you!

 

This post has been edited by a moderator to remove a link to self-promotional link as per our Community Code of Conduct.

4 replies

robintrainward
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img
  • Zapier Orchestrator & Solution Partner
  • July 8, 2026

Hi ​@forclaz00,

 

I've run into this before, and I'd still recommend sticking with the Lookup Table. The Gmail error usually means the product name isn't matching exactly, it might be extra spaces or capitalization.

I'd avoid switching to Python unless you really need to. A Lookup Table is much easier to maintain since adding or updating products is just a table edit instead of requiring someone to modify the Zap and republish it. I'd also consider matching on a product ID or SKU instead of the product name if possible.

 

Hope this helps!

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 8, 2026

Hi ​@forclaz00 

For us to have more info, post screenshots showing how your Zap steps are outlined and configured in the CONFIGURE tab while in EDIT mode with the field mappings visible.


Forum|alt.badge.img+4
  • Zapier Solution Partner
  • July 10, 2026

Hi ​@forclaz00 

First things first – let's check if the product name coming from your trigger actually matches what's in your Lookup Table.

The Lookup Table in Zapier is case-sensitive, so even a small difference like "Forclaz Jackets" vs "forclaz jackets" will cause it to fail and return nothing (which is why you're getting that empty field error in Gmail).

Here's what I'd suggest:

  1. Check the match first – Compare the exact product name from your trigger with what you have in the Lookup Table. Look for:

    • Capitalization differences

    • Extra spaces (leading or trailing)

    • Any special characters

  2. If they don't match, use Formatter by Zapier to standardize the data:

    • Add a Formatter step with "Text" action

    • Set Transform to "Lowercase" – this makes everything consistent

    • Add another Formatter step with "Trim Whitespace" – this removes any sneaky spaces

  3. Update your Lookup Table to use the lowercase version of product names as keys

One more thing: Could you share screenshots of your Zap setup (especially the Lookup Table configuration and the data coming from your trigger)? That would help me see exactly where the mismatch is happening and give you more specific guidance.

Hope this helps! Let me know what you find. 


Forum|alt.badge.img
  • New
  • July 13, 2026

One thing worth adding to the case and whitespace advice above: a Lookup Table returns an empty value on a miss rather than throwing an error, so the Zap keeps running and only falls over later at Gmail. That is why this looks like a Gmail problem when the real failure happened a step earlier.

 
Two things that help. Set a fallback value in the Lookup Table, a generic care guide URL, so a miss still sends a sensible email instead of one with an empty link. If you would rather it stop cleanly, add a Filter step right after the lookup so the Zap halts with a clear reason instead of sending a broken email.
 
Also check whether the product name coming off your trigger carries a variant suffix. Store platforms often pass something like Forclaz Jacket / Medium / Blue rather than the clean product name, and no amount of lowercasing or trimming will match that against a clean key. If the trigger exposes a SKU or product ID, matching on that is the real fix, as Robin said above, and it also survives someone renaming a product later.