Skip to content

Commit

Permalink
Update 11. Call a webhook.md (#131)
Browse files Browse the repository at this point in the history
updated the 2 screenshots and navigation
  • Loading branch information
mahajantejas authored Mar 7, 2024
1 parent 4fe2313 commit fa23a8a
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
> ### **3 minute read                             &nbsp                             &nbsp                             &nbsp                               `Advanced`**
> ### **3 minutes read                                                                                                                         `Advanced`**
___

**Webhook calls are used to communicate with third-party applications within flows. They allow NGOs to receive and handle incoming messages, delivery receipts and other events from WhatsApp in a seamless and automated manner.**
Expand Down Expand Up @@ -72,13 +72,10 @@ Once the webhook setup is complete. You can test it by executing the flow in Gli

Glific has **Webhook Logs** from where you can check the status of a Webhook call and see if it returned some errors.

1. Access Flows page from left panel.
1. Access `Webhook logs` under the `Flows` option from left panel.

![image](https://user-images.githubusercontent.com/32592458/212661724-2fbf8308-c643-4b31-8850-a5b141bf2aa8.png)
<img width="221" alt="Screenshot 2024-03-06 at 3 13 42 PM" src="https://github.com/glific/docs/assets/141305477/179b8f35-1f72-499b-8271-9488d0eedbac" />

1. Click on the `View webhook logs` link at the bottom of the `Flows` page.

![image](https://user-images.githubusercontent.com/32592458/212661766-a1fee1df-3f8e-4777-9561-283889f750ff.png)

1. Webhook logs page will show the results of your webhook calls with the below details
1. `Time` - Time of the webhook call.
Expand All @@ -90,7 +87,9 @@ Glific has **Webhook Logs** from where you can check the status of a Webhook cal
1. `Request Header` - Request header of the webhook call
1. `Request JSON` - JSON of the webhook call
1. `Response JSON` - JSON response received from the webhook call.
1.

<img width="1451" alt="Screenshot 2024-03-06 at 3 12 51 PM" src="https://github.com/glific/docs/assets/141305477/d7f9dffe-2294-42e3-9b93-8bc3bfa38c38" />

1. You can click on the data received in the logs to copy or view the full response.

![image](https://user-images.githubusercontent.com/32592458/212661790-0d79be95-c208-4e49-9f4c-5ff56c1b1a65.png)
Expand All @@ -104,4 +103,4 @@ ___

- [Glific Webhooks](https://glific.github.io/slate/#webhooks)

- [Code examples to use Webhooks in Glific](https://github.com/glific/recipes)
- [Code examples to use Webhooks in Glific](https://github.com/glific/recipes)

0 comments on commit fa23a8a

Please sign in to comment.