Configuring alarm message from pagerduty to slack

Hi there!
I have a question. is it possible to customize how the message is parsed and posted inside the slack channel?
For example, I have a sample alert posted to the Slack channel, like this

Resolved: #188361 Example alert on host1.example.com
Assigned: Valeriy 
↑︎ High Urgency
Triggered by: Sample Monitoring Service
Service: pagerduty-test

It is basic and default behavior with pagerduty intergration.
Let’s imagine, that such payload was posted to Pagerduty via some service

“payload”: {
“summary”: “Example alert on host1.example.com”,
“source”: “monitoringtool:cloudvendor:central-region-dc-01:852559987:cluster/api-stats-prod-003”,
“severity”: “info”,
“custom_details”: {
“component”: “nginx”,
“kubernetes”: “USA”,
“runbook”: “http://example.com
}

So, I want to parse and add some values from custom_details so alert would be posted inside Slack like this

Resolved: #188361 Example alert on host1.example.com
Assigned: Valeriy 
↑︎ High Urgency
Component: nginx
Kubernetes: USA
Runbook: http://example.com
Triggered by: Sample Monitoring Service
Service: pagerduty-test

Is there any way to achieve that? I would appreciate any help.