Note → Get
AI-generatedOverview
This node integrates with a Fleeting Notes service, allowing users to manage notes stored remotely. Specifically, the "Get" operation for the "Note" resource retrieves a single note by its unique ID. This is useful when you want to fetch detailed information about a specific note, for example, to display it in a workflow or use its content in subsequent automation steps.
Practical examples:
- Fetching a note's content to include it in an email.
- Retrieving a note to update or analyze its data conditionally.
- Accessing a note's details for backup or synchronization purposes.
Properties
| Name | Meaning |
|---|---|
| Note ID | The unique identifier of the note to retrieve. It must be provided and cannot be empty. |
Output
The output is a JSON object representing the requested note with the following structure:
id: Unique identifier of the note.title: Title of the note (decrypted if encryption key is used).content: Content of the note (decrypted if encryption key is used).created_at: Timestamp when the note was created.modified_at: Timestamp when the note was last modified.deleted: Boolean flag indicating if the note is deleted (should be false for retrieved notes)._partition: User ID partitioning the note.
If the node is configured with an encryption key, the title and content fields are decrypted before output. Otherwise, they are returned as stored.
No binary data is output by this operation.
Dependencies
- Requires connection to a remote Supabase backend service for storing and retrieving notes.
- Requires user credentials: an email and password for authentication.
- Optionally supports encryption/decryption of note titles and content using a provided encryption key.
- Requires configuration of an API key credential that includes these authentication details.
- Uses the Supabase JavaScript client library and CryptoJS for encryption.
Troubleshooting
- Missing Credentials: If email or password credentials are missing, the node will throw an error indicating required credentials are not provided.
- Authentication Failure: Errors during login to the remote service will result in an authentication failure message.
- Note Not Found: If the specified Note ID does not exist or is marked deleted, the node throws a "Note not found" error.
- Empty Note ID: Providing an empty string for the Note ID will cause an error prompting to provide a valid ID.
- Decryption Errors: If an encryption key is set but incorrect, decryption of the note's title or content will fail with an error suggesting an invalid encryption key.
- General API Errors: Other errors from the remote service are surfaced with their messages; ensure network connectivity and correct permissions.
To resolve issues:
- Verify credentials are correctly set.
- Confirm the Note ID exists and is not deleted.
- Check encryption key correctness if encryption is enabled.
- Ensure network access to the Supabase endpoint.
Links and References
- Supabase Documentation
- CryptoJS GitHub Repository - for encryption/decryption methods used
- UUID Library - for generating unique IDs (used internally)