cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ianroseman
Advocate IV
Advocate IV

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

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
Advocate IV
Advocate IV

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.

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.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,663)