Actions48
- Account Actions
- Authentication Actions
- Blocks Actions
- Bookmarks Actions
- Favourites Actions
- Featured Tags Actions
- Follow Requests Actions
- Media Actions
- Mutes Actions
- Notifications Actions
- Polls Actions
- Status Actions
- Timeline Actions
Overview
This node integrates with the Mastodon social network API, allowing users to perform various operations on Mastodon resources. Specifically, the "Add Bookmark" operation under the "Bookmarks" resource enables users to add a bookmark to a specific status (post) on a Mastodon instance.
Common scenarios for this node include automating social media workflows such as saving important or interesting posts for later reference, managing bookmarks programmatically, or integrating Mastodon interactions into broader automation pipelines.
For example, a user could set up an automation that bookmarks certain statuses based on keywords or user activity, helping them keep track of relevant content without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Mastodon URL | The URL of the Mastodon instance to connect to (e.g., https://mastodon.social). |
| Status ID | The unique identifier of the status (post) to add as a bookmark on the Mastodon instance. |
Output
The node outputs JSON data representing the result of the "Add Bookmark" operation. This typically includes details about the bookmarked status, confirming that the bookmark was successfully added. The exact structure depends on the Mastodon API response but generally contains information about the status and its bookmark state.
No binary data output is involved in this operation.
Dependencies
- Requires an API authentication token credential configured in n8n to authenticate requests to the Mastodon API.
- Needs the URL of the target Mastodon instance.
- Relies on the Mastodon API being accessible and the authenticated user having permission to add bookmarks.
Troubleshooting
Common Issues:
- Incorrect or missing Mastodon instance URL can cause connection failures.
- Invalid or expired API authentication tokens will lead to authorization errors.
- Providing an invalid or non-existent Status ID will result in errors from the Mastodon API.
Error Messages:
"The operation "addBookmark" for resource "bookmarks" is not implemented!"indicates a misconfiguration or unsupported operation; ensure the correct operation name is used.- Network or authentication errors usually manifest as HTTP error responses; verify credentials and network connectivity.
Resolutions:
- Double-check the Mastodon URL and ensure it is reachable.
- Refresh or reconfigure the API authentication token.
- Confirm the Status ID exists and is accessible by the authenticated user.