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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Help with Expression

(0) ShareShare
ReportReport
Posted on by

 

Hello, I need help with Expression

 

The Expression to get Job ID is   @{triggerBody()?['payload']?['job']?['id']}

 

  • What is the Expression to get Department Name ?
  • What is the Expression to get Office Names ( Eg: New York, Belgium ) ( both office name , comma separated )

Below is the Sample JSON  Code

 

 

{
 "action": "job_updated",
 "payload": 
 {
 "job": 
 {
 "id": 100445,
 "name": "Assistant Store Manager, NYC",
 "requisition_id": null,
 "notes": "<p>Looking for the best!<\/p>",
 "confidential": false,
 "job_post_id": 88010,
 "status": "open",
 "created_at": "2015-08-11T23:02:09Z",
 "opened_at": "2015-08-11T23:02:09Z",
 "closed_at": null,
 "departments": 
 [
 {
 "id": 74,
 "name": "Guideshops",
 "external_id": "ex-dept-1"
 }
 ],
 "offices": 
 [
 {
 "id": 104,
 "name": "New York",
 "location": "New York, NY",
 "external_id": "ex-office-1"
 },
 {
 "id": 105,
 "name": "Belgium",
 "location": "Belgium",
 "external_id": "ex-office-2"
 }
 ],
 "hiring_team": 
 {
 "hiring_managers": 
 [
 {
 "user_id": 1234,
 "employee_id": "abc-123"
 }
 ],
 "sourcers": [],
 "recruiters": 
 [
 {
 "user_id": 2345,
 "employee_id": null
 },
 {
 "user_id": 3456,
 "employee_id": "abc-234"
 }
 ],
 "coordinators": []
 },
 "openings": 
 [
 {
 "id": 1234,
 "opening_id": "abc-1",
 "custom_fields": []
 },
 {
 "id": 1235,
 "opening_id": "abc-2",
 "custom_fields": []
 }
 ],
 "custom_fields": 
 {
 "bonus": 
 {
 "name": "Bonus",
 "type": "short_text",
 "value": null
 },
 "employment_type": 
 {
 "name": "Employment Type",
 "type": "single_select",
 "value": null
 },
 "options":
 {
 "name": "Options",
 "type": "short_text",
 "value": null
 },
 "salary": 
 {
 "name": "Salary",
 "type": "short_text",
 "value": null
 }
 }
 }
 }
}

 

 

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,975 Most Valuable Professional on at

    Hi @Anonymous 

     

    Add a Parse JSON action step. Pass the value under the content. Click the Generate Sample. Copy and Paste the above sample data. 

     

    Next step add a compose and extract the values.

     

    Thanks

  • abm abm Profile Picture
    32,975 Most Valuable Professional on at

    Here it is

     

    image.png

    image.png

     

    You may need to add another Parse JSON step to extract further values. Try the above and run the flow. If you have further JSON to extract do the same steps again.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard