Re: Custom query for filter in Get Customer Data action

Solved

Custom query for filter in Get Customer Data action

Ed_Graham
Excursionist
17 1 0

I need to filter the list of customers returned by the Get customer data action according to whether a customer has a specific tag.  I have tried the syntax

 

query=tags:EdTest

 

and all variations that I can think of; but nothing filters the list successfully.

 

Shopify1.png

 

According to the documentation on filter parameters shown here, I ought to be able to do this somehow.  What am I doing wrong?

 

Shopify2.png

Accepted Solution (1)
Ed_Graham
Excursionist
17 1 0

This is an accepted solution.

I finally cracked it!  Turns out I was wrong in my last post: I had tried tag=EdTest but not tag:EdTest, which turned out to be the right answer!

View solution in original post

Replies 5 (5)
Ed_Graham
Excursionist
17 1 0

Can't you explain the solution here so that everyone else can benefit as well?

Ed_Graham
Excursionist
17 1 0

Thank you for your reply.  As per my original question, I'm interested in scenario #3.  In particular, I want to know how to craft a custom query for a filter in the Get Customer Data action.  Please see the screenshot(s) in my question above for more details.

Ed_Graham
Excursionist
17 1 0

This is a community forum: questions are asked and answered for the benefit of everybody; therefore the replies need to be public.  If you are unwilling to offer your help under these conditions, please don't respond any further - there are more appropriate ways to advertise private consultancy services.

Ed_Graham
Excursionist
17 1 0

Thank you for your reply.  However, as explained in my original question, I have already tried to adjust the filters directly in the action settings - but without success.  Please see the first screenshot in my question above.  I have tried tag:Edtest, tags:Edtestquery=tag:Edtest and query=tags:Edtest in the action settings; but none of these filters my list of customers according to the presence of the tag "EdTest", which is my aim.

Ed_Graham
Excursionist
17 1 0

This is an accepted solution.

I finally cracked it!  Turns out I was wrong in my last post: I had tried tag=EdTest but not tag:EdTest, which turned out to be the right answer!