I am trying to use a JSON response in a Zapier response. The data looks like this:
I'm trying to use the Induction and Site Suitability href value in a Zap, however, when I try to use this in Zapier, Zapier gives me this:
I was going to use a find of some sorts to find Induction and Site Suitability and then return the href after that, but because of the formatting, I can't do that. Does anyone know how I can do this with Formatter or Code (Python/Javascript) or something else in Zapier?
Thank you
Luke
Here is the API result in code:
{
"competencies": [
{
"competency": {
"name": "Forklift Operator Permit",
"href": "https://link/22059"
},
"status": {
"value": "Active",
"type": "active"
},
"expiryWarning": "2021-04-15T13:59:00Z",
"expiry": "2021-04-30T13:59:00Z",
"disabled": false,
"href": "https://link/1b1594d738"
},
{
"competency": {
"name": "Induction and Site Suitability",
"href": "https://link/24033"
},
"status": {
"value": "Active",
"type": "active"
},
"expiryWarning": "2021-04-15T13:59:00Z",
"expiry": "2021-04-30T13:59:00Z",
"disabled": false,
"href": "https://link/8e26b5ea4bbc800e"
}
]
}