Shopware icon

Shopware

Shopware

Actions778

Webhook Event Log → Create Webhook Event Log

AI-generated

Overview

This node operation creates a webhook event log entry. It is useful for tracking and recording details about webhook events, such as delivery status, event name, request and response content, timestamps, and other metadata. This can help in monitoring webhook activity, debugging issues, and maintaining audit trails.

Use Case Examples

  1. Logging webhook events for an application to monitor delivery status and response details.
  2. Recording event names and timestamps for webhook calls to analyze webhook performance and processing times.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the webhook event log entry.
App Name Name of the application associated with the webhook event.
Webhook Name Name of the webhook being logged.
Event Name Name of the event triggered by the webhook.
Delivery Status Status of the webhook delivery.
Timestamp Timestamp of the webhook event.
Processing Time Time taken to process the webhook event.
App Version Version of the application associated with the webhook event.
Request Content Content of the webhook request in JSON format.
Response Content Content of the webhook response in JSON format.
Response Status Code HTTP status code of the webhook response.
Response Reason Phrase Reason phrase associated with the response status code.
Url URL associated with the webhook event.
Only Live Version Flag indicating if only the live version is considered.
Custom Fields Custom fields in JSON format for additional data.
Created At Creation timestamp of the webhook event log entry.
Updated At Last update timestamp of the webhook event log entry.
Request Options Options for the request such as batching, SSL handling, proxy, and timeout settings.

Output

JSON

  • id - Unique identifier of the created webhook event log entry.
  • appName - Name of the application associated with the webhook event.
  • webhookName - Name of the webhook.
  • eventName - Name of the event triggered.
  • deliveryStatus - Status of the webhook delivery.
  • timestamp - Timestamp of the event.
  • processingTime - Processing time of the event.
  • appVersion - Version of the application.
  • requestContent - Content of the webhook request.
  • responseContent - Content of the webhook response.
  • responseStatusCode - HTTP status code of the response.
  • responseReasonPhrase - Reason phrase for the response status.
  • url - URL related to the webhook event.
  • onlyLiveVersion - Flag indicating if only live version is used.
  • customFields - Additional custom fields.
  • createdAt - Creation timestamp.
  • updatedAt - Last update timestamp.

Troubleshooting

  • Ensure all required fields (Id, Webhook Name, Event Name, Delivery Status, Url) are provided to avoid validation errors.
  • Verify JSON format for fields like Request Content, Response Content, and Custom Fields to prevent parsing errors.
  • Check network connectivity and API endpoint availability if the webhook event log creation fails due to request issues.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option or verify the SSL certificate validity.

Discussion