cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ianroseman
Level: Powered On

Twitter Connector - Ability to Filter by Tweet Language Condition (e.g. English)

I'm using the Twitter connector with the template that allows me to email myself if the Twitter Keywords match my desired result.  However, it seems I'm getting languages other than English show up in my MS Flow Emails.  In some cases, I can see the keyword, like in a Spanish tweet, there is an "ai" with an accent over the i.  I was using the AI as a keyword referencing "Artificial Intelligence".  

Is there some way I can create a Condition step that filters Tweets on language, i.e. English?  I don't think so, but thought I'd ask.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Twitter Connector - Ability to Filter by Tweet Language Condition (e.g. English)

Hi @ianroseman,

 

Using "Tweet Language" should be able to filter the results.

Condition should be:

@equals(triggerBody()?['TweetLanguageCode'], 'en')

Regards,

Michael

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

View solution in original post

2 REPLIES 2
ianroseman
Level: Powered On

Re: Twitter Connector - Ability to Filter by Tweet Language Condition (e.g. English)

I think I may be able to use "Tweet Language" (Language Code of the Tweet) as a condition.  There also appears to be Microsoft Translate as a fallback.

Community Support Team
Community Support Team

Re: Twitter Connector - Ability to Filter by Tweet Language Condition (e.g. English)

Hi @ianroseman,

 

Using "Tweet Language" should be able to filter the results.

Condition should be:

@equals(triggerBody()?['TweetLanguageCode'], 'en')

Regards,

Michael

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

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,683)