Hi
I've created WebHook for my service (telnyx). Create schema from post message sent by Telnyx. In the power automate all fields from JSAN are available to use for HTTP web hook and JSON parsing step, When I ran it value was not loaded to other blocks. When this header is called from Postman added date can be loaded to PA variables.
"headers": {
"Host": "prod-77.westeurope.logic.azure.com",
"User-Agent": "telnyx-webhooks",
"telnyx-signature-ed25519": "dxxx",
"telnyx-timestamp": "1695200112",
"Content-Length": "1038",
"Content-Type": "application/json"
},
"body": {
"data": {
"event_type": "call.answered",
"id": "f5a6cc8a-0a97-4d69-ac93-613bc87269ea",
"occurred_at": "2023-09-20T08:55:12.006439Z",
"payload": {
"call_control_id": "1",
"call_leg_id": "563bf1e2-5793-11ee-8323-02420a0daa69",
"call_session_id": "5635a652-5793-11ee-b33b-02420a0daa69",
"client_state": null,
"connection_id": "2257930866774771599",
"end_time": "2023-09-20T08:55:12.006439Z",
"from": "+xxxx",
"hangup_cause": "timeout",
"hangup_source": "unknown",
"sip_hangup_cause": "unspecified",
"start_time": "2023-09-20T08:55:12.006439Z",
"to": "+xxxx"
},
"record_type": "event"
},
"meta": {
"attempt": 1,
}
}
}
------------------- Schema-----
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"record_type": {
"type": "string"
},
"event_type": {
"type": "string"
},
"id": {
"type": "string"
},
"occurred_at": {
"type": "string"
},
"payload": {
"type": "object",
"properties": {
"call_control_id": {
"type": "string"
},
"connection_id": {
"type": "string"
},
"call_leg_id": {
"type": "string"
},
"call_session_id": {
"type": "string"
},
"client_state": {
"type": "string"
},
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"start_time": {
"type": "string"
},
"state": {
"type": "string"
},
"hangup_cause": {
"type": "string"
},
"hangup_source": {
"type": "string"
},
"sip_hangup_cause": {
"type": "string"
}
}
}
}
}
}
}