Upload Post icon

Upload Post

Upload content to social media via Upload-Post API

User → Update Notification Preferences

AI-generated

Overview

This node operation updates the notification preferences for a user in the Upload-Post platform. It allows configuring webhook notifications by enabling or disabling them, setting the webhook URL, and selecting which webhook events to subscribe to. This is useful for users who want to receive real-time updates about events such as upload completions or social account status changes via webhooks.

Use Case Examples

  1. A user wants to enable webhook notifications and receive updates when a post upload finishes or when a social account is connected or disconnected.
  2. A user wants to disable webhook notifications temporarily by turning off the webhook enabled flag.
  3. A user wants to update the webhook URL to a new endpoint to receive webhook POST requests.

Properties

Name Meaning
Webhook Enabled Whether to enable webhook notifications (boolean). Controls if webhook notifications are active.
Webhook URL URL to receive webhook POST requests (string). The endpoint where webhook notifications will be sent.
Webhook Events Which webhook events to subscribe to (multiOptions). Allows selection of events like upload completion, social account connection, disconnection, and re-authentication required.

Output

JSON

  • channels
    • webhook - Indicates if webhook notifications are enabled (boolean).
  • webhook_url - The webhook URL set for receiving notifications (string).
  • webhook_events - Object mapping subscribed webhook event names to true, indicating active subscriptions.

Dependencies

  • Upload-Post API authentication token

Troubleshooting

  • Ensure the webhook URL is a valid HTTP or HTTPS URL; invalid URLs will cause the update to fail.
  • If webhook notifications do not arrive, verify that the webhook is enabled and the URL is reachable from the Upload-Post service.
  • Check that the selected webhook events are supported and correctly spelled; unsupported events will be ignored or cause errors.
  • API authentication must be correctly configured; missing or invalid credentials will prevent the update.

Links

Discussion