Best answer

MYsql custom query returns only row

  • 19 February 2021
  • 2 replies
  • 483 views

Hi,

 

I am running a custom query in mysql to return the rows which should be imported into google sheets. I have read through the forum posts but got no answer.

I want the multiple rows from custom query to be imported into gsheets but it only returns and imports one row. The below query should return 7 rows.

 

select *  from spred_subscribers.spred_subscribers_posts
where Hashtags REGEXP 'tattoo|black|fashion' and post_likes REGEXP '45|42'

icon

Best answer by jesse 6 May 2021, 03:23

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +14

Hi @spred 

Both MySQL search actions will only return one row as indicated in the description.

 

Userlevel 7
Badge +9

Hey @spred hmm, that’s odd! Usually, with the custom query trigger, we can pick up on multiple rows so long as multiple rows are added after your Zap is turned on. You might want to check out this help article to ensure your step/query is configured correctly. If you are still running into issues, the best thing to do would be to contact our support team, here: https://zapier.com/app/get-help. They will be able to dig into things a bit closer for you. Let us know how you make out and if/how you solved this one!