Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Syntaxt of Twitter text search?

I'm using a template where the trigger is searching for new tweeds on twitter ("when a new tweet is posted").


I don't get any viable results when I try something at the Search text field like:


"machine learning" or machinelearning, microsoft or azure or msdyn or xyz.


=> I want flow to search for all possible combinations of an expression before and another expression from after the comma.

It there a way to make this possible?


Otherwise I would need to use conditions to further filter out my results which tremendously increases my number of flows executed.



Re: Syntaxt of Twitter text search?


This is one of the examples of searching by the hashtag that will give you recent tweets that used the hash tag office365.


This way you could for example generate an email every time a tweet about office 365 is posted.

Frequent Visitor

Re: Syntaxt of Twitter text search?

What I'm looking for are the logical expressions you can use (if possible). 


With this Search text:


"machine learning" or machinelearning, microsoft or azure or msdyn or xyz


I was hoping to get results for example, if


there is "Machine Learning" AND Microsoft in a tweet.


Also if there is


machinelearning AND Azure in a tweet


But not, if there was only found "Machine Learning" in the tweet without one of the terms in (microsoft, azure, msdyn, xyz).


Community Support
Community Support

Re: Syntaxt of Twitter text search?

Hi @mgr,


Could you please show a screenshot of your flow's configuration?

Do you want to search tweets based on multiple search text within Search text field of "When a new tweet is posted" trigger?

Further, do you use built-in template of Microsoft Flow to create your flow?


I have made a test on my side (create flow from scratch) and the flow works well. My flow's configuration as below:25.JPG

Within "Search text" field of "When a new tweet is posted" trigger, type the following text:

"Machine Learning", Azure


The flow works successfully as below:26.JPG


Please consider take a try to create your flow from scratch, because, sometimes there is something issue with built-in templates of Microsoft Flow.


More details about creating flow from scratch, please check the following article:

Create a flow from scratch


Best regards,


Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
New Member

Re: Syntaxt of Twitter text search?

What if I want to search a keyword which is my company's name and that keyword can be someone's name too. So it will end up pulling the tweets with someone's name as well. How do we restrict that,

Helpful resources


Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!


Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,605)