Skip to main content

Notifications

Community site session details

Community site session details

Session Id : GVK0ijCtITKuc9Mwj82lvM
Power Apps - Connector Development
Answered

Constituency data

Like (0) ShareShare
ReportReport
Posted on 30 Mar 2025 07:59:06 by 80
I am very new to Power Apps. I am trying to add a Custom Connector in my Contact table. I want to be able use a postcode that is entered to work out the constituency that that postcode is in and to auto-populate a Constituency field. I'm struggling to know what information I need to put on each of the pages from (3) Definitions onwards. The host page is theyworkforyou.com. If anyone can help me with the data I need to insert in each of the fields in the Custom Connector or suggestions for another host page, if that is better, is good too. 
Categories:
  • CD-28031715-0 Profile Picture
    80 on 04 Apr 2025 at 18:43:55
    Constituency data
    @vipuljain03 I don't think you've seen my reply below, to be fair I didn't tag you... Are you able to help me please? I feel like I'm nearly there but just need that final bit of help...
  • CD-28031715-0 Profile Picture
    80 on 02 Apr 2025 at 13:30:53
    Constituency data
    Your video is very useful Vipul, but I've got an error... I don't know what needs to go in the Output section. Also once I've got this sorted, I still don't quite understand how I instruct Power Apps to use the data in the Postcode column to populate the Constituency column in the same Table. Thanks so much for your help so far. 

     
  • CD-28031715-0 Profile Picture
    80 on 02 Apr 2025 at 13:04:01
    Constituency data
    Hi Vipul, thanks. I'll try to incorporate the custom connector in a model driven app, not canvas app. I'll try watching your video though and see if it enlightens me. 
  • vipuljain03 Profile Picture
    464 on 31 Mar 2025 at 18:09:17
    Constituency data
    Refer this video to get insights on Custom Connector and how you can use them in Canvas App - https://www.youtube.com/watch?v=A5rljz91zaM
  • CD-28031715-0 Profile Picture
    80 on 31 Mar 2025 at 17:43:57
    Constituency data
    Thank you Vipul. I think I'm getting there... I followed your instructions and a Youtube video... I'm not sure that I've done everything quite right, but when I look at a list of current connections it says that it is Connected! I don't know how to incorporate it into my Model Driven App though... I will try and find a video to help, but if you see this reply and can point me in the right direction, I'd be very grateful. Thanks very much for your guidance so far! 
  • Verified answer
    vipuljain03 Profile Picture
    464 on 31 Mar 2025 at 07:11:26
    Constituency data
    You are using TheyWorkForYou.com API.
     
    The first and foremost step would be to get the API key. Maybe signup with TheyWorkForYou.com API and get the API key and save it.
     
    1) Configure the General page in custom connector:
    • Scheme: HTTPS
    • Host: www.theyworkforyou.com
    • Base URL: /api/
    2)  Configure Authentication (API Key)
     
    3) Definition
    • Create a new Action and name it GetConstituencyFromPostcode.
    • Fill in General Settings => Summary, Description and Operation ID (GetConstituency)
    • Setup the Request
    • Define the Response
      • Click "Add default response"
      • Click "Import from sample"
      • Enter a sample response
        • {
                   "name": "India"
                }
           
    4) Test your custom connector
     
    --------------------------------------------------------
    If this reply helped you, please mark this reply as suggested answer ✔️ and give it a like to help others in the community find the answer too!
    Thanks,
    Vipul

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard

Featured topics

Loading started