Doppler icon

Doppler

Interact with the Doppler API

Overview

The "Doppler" node for n8n, when configured with the Share resource and Plain Text operation, allows users to securely share a secret (plain text) via the Doppler API. This is useful for scenarios where sensitive information—such as passwords, API keys, or confidential notes—needs to be shared in a controlled manner, with options to set expiration based on time or number of views.

Practical examples:

  • Sharing a temporary password with a colleague that expires after one use.
  • Sending an API key to a partner, ensuring the link becomes invalid after 3 days or 5 views.
  • Distributing confidential instructions that self-destruct after being accessed.

Properties

Name Meaning
Secret The secret you want to share. Enter the plain text content that will be sent and protected by Doppler.
Additional Fields Optional collection of extra settings:
- Expire After Days Number of days before the link expires. Valid range: 1 to 90.
- Expire After Views Number of views before the link expires. Valid range: 1 to 50. Use -1 for unlimited views.

Output

The node returns a JSON object containing details about the created share. While the exact structure depends on the Doppler API response, it typically includes:

{
  "id": "string",              // Unique identifier for the share
  "link": "string",            // URL to access the shared secret
  "expire_days": number,       // Number of days until expiration
  "expire_views": number,      // Number of views allowed
  "created_at": "timestamp",   // Creation date/time
  // ...other metadata fields
}

No binary data is output by this operation.

Dependencies

  • External Service: Requires access to the Doppler API at https://api.doppler.com/v1.
  • API Key/Authentication: Depending on your Doppler account setup, you may need to configure authentication (not shown in the provided code).
  • n8n Configuration: No special configuration beyond standard HTTP connectivity and any required credentials.

Troubleshooting

Common Issues:

  • Invalid Expiry Values: Setting "Expire After Days" outside 1–90 or "Expire After Views" outside 1–50 (except -1) may result in validation errors from the API.
  • Missing Secret: If the "Secret" field is empty, the API may reject the request.
  • Authentication Errors: If not properly authenticated, you may receive 401 Unauthorized errors.

Error Messages & Resolutions:

  • "expire_days must be between 1 and 90": Adjust the value within the valid range.
  • "expire_views must be between 1 and 50 or -1": Set a valid number or -1 for unlimited.
  • "Missing required field: secret": Ensure the "Secret" property is filled.
  • "Unauthorized": Check your API credentials and permissions.

Links and References

Discussion