Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

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.


Super User
Super User

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.

Level: Powered On

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 Team
Community Support Team

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.
Level: Power Up

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


Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,978)