Reading:
Viewing triggered webhooks and execution logs

Viewing triggered webhooks and execution logs

Matt Fellows
Updated

Webhooks are a key component (specifically, step 4) of a comprehensive Pact rollout. One of the first features we added to Pactflow was the ability to create, test and debug webhooks through the UI.

Today we released an enhancement that provides more insight into webhook activity, by enabling users to view the event that initiated the webhook, logs and executions for triggered webhooks directly from key areas of the application.

Triggered webhooks for an integration

Some terminology

When a webhook fires, it has an event that was its cause, resulting in a triggered webhook. Once a webhook has been triggered, it will execute the webhook producing a log entry for that execution. Some webhook executions will fail and will be retried

In this case, we selected the first entry above and we find that there were 7 failed attempts. When we inspect the triggered webhook logs, each page represents one of the failed executions:

Logs for each execution for a triggered webhook

We can see the cause of the failure is a 403 Forbidden, meaning we have likely supplied incorrect credentials.

Now that we know the issue, we can also edit the webhook directly from here and get it back to green.

Availability

This feature is available now to plans and all users with either our Administrator or Test Maintainer default roles, or any custom role with webhook:manage:* privilege.

Introducing PactFlow’s new user experience
14 August 2024

Introducing PactFlow’s new user experience

Meet PactFlow's new UI - beautiful, simple, intuitive, and blazing fast, the new user experience is optimized around our recommended best practices.

2 min read

Level Up Your Workflow: New PactFlow UI (beta)!
26 July 2024

Level Up Your Workflow: New PactFlow UI (beta)!

PactFlow's new application-centric user interface is here.

1 min read

Integrate Deeper with our Developer API 🧿
22 November 2023

Integrate Deeper with our Developer API 🧿

Announcing the launch of PactFlow’s Developer API.

3 min read

arrow-up icon