web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Salesforce connector q...
Power Automate
Unanswered

Salesforce connector query on related object

(1) ShareShare
ReportReport
Posted on by 2

Is there any way, using the Salesforce Get Records action to include fields from a related lookup field?

This would be a JOIN in SQL or in SOQL using the related __r. fieldName. 

See image below - this fails because AccountId__r.Type_of_Business__c is not a field in Opportunity.

kaputafj_aig_0-1602288290888.png

 

Categories:
  • GKS Profile Picture
    25 on at

    there is now an option to execute a soql query that returns an object.  playing with it now to see what can be done

     

    https://docs.microsoft.com/en-us/connectors/salesforce/#execute-a-soql-query

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard