Shopware icon

Shopware

Shopware

Actions778

Notification → Create Notification

AI-generated

Overview

This node operation creates a notification in the Shopware system. It is useful for automating the creation of notifications with specific details such as status, message, and access privileges. For example, it can be used to notify administrators or users about system events or updates.

Use Case Examples

  1. Creating a notification with a custom message and status to alert administrators.
  2. Automating notifications for system events with specific user or integration IDs.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Unique identifier for the notification.
Status Status of the notification.
Message Message content of the notification.
Admin Only Flag indicating if the notification is for admin users only.
Required Privileges JSON array specifying required privileges to view the notification.
Created By Integration Id ID of the integration that created the notification.
Created By User Id ID of the user that created the notification.
Created At Timestamp when the notification was created.
Updated At Timestamp when the notification was last updated.
Created By Integration JSON object with details about the integration that created the notification.
Created By User JSON object with details about the user that created the notification.
Request Options Additional request options such as batching, SSL settings, proxy, and timeout.

Output

JSON

  • id - Unique identifier of the created notification.
  • status - Status of the created notification.
  • message - Message content of the created notification.
  • adminOnly - Indicates if the notification is for admin users only.
  • requiredPrivileges - Privileges required to view the notification.
  • createdByIntegrationId - ID of the integration that created the notification.
  • createdByUserId - ID of the user that created the notification.
  • createdAt - Creation timestamp of the notification.
  • updatedAt - Last update timestamp of the notification.
  • createdByIntegration - Details about the integration that created the notification.
  • createdByUser - Details about the user that created the notification.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Status, Message) are provided to avoid validation errors.
  • Check API credentials and base URL configuration if authentication fails.
  • If the response format is not as expected, verify the '_response' property setting.

Discussion