Skip to main content
Question

Update Row Mysql


What I am trying to do is when a customer(customer_id) orders ( zap triggers on new mysql row-custom query) I want to grab information and pass (update row) in a another table in my database.  (i thought I would be able to do it with a custom query, but apparently that is not an option). The problem is there are only 2 options for updating a row.  My question is what is it updating with?  I want to update the p_pic column with {banner_bear_url} where p_id is = to the p_id I pulled in the first query.  Thank you for any help you can lend.  


 

 

Did this topic help you find an answer to your question?

2 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31147 replies
  • February 25, 2025

Hi ​@jfreeman1412 

Try this…

For the ID Column field, use the [...] button to switch to “Static” mode.

Then select an option from the dropdown list.

That should expose the other fields to set.

Once you map the other fields, then go back and change the ID column back to how you had it mapped with a dynamic variable.

Test live.

Check your Zap Runs history details to see the DATA IN/OUT for each step: https://zapier.com/app/history/

 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7597 replies
  • March 6, 2025

Hi there, ​@jfreeman1412 👋

How did you get on with Troy’s suggestion here—did it do the trick?

Want to make sure you’re all set here, so let us know if you’re still stuck at all!


Reply