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, specifically allowing users to add a note to a Mastodon account. This operation is useful for administrators or moderators who want to attach internal notes or comments to user accounts for tracking purposes, moderation, or record-keeping.
Practical examples include:
- Adding a moderation note to an account suspected of violating community guidelines.
- Attaching internal comments about a user’s behavior or status for future reference.
- Keeping track of account-related actions or warnings in a centralized way.
Properties
| Name | Meaning |
|---|---|
| Mastodon URL | The URL of the Mastodon instance to connect to (e.g., https://mastodon.social). |
| Account ID | The unique identifier of the Mastodon account to which the note will be added. |
| Note | The text content of the note to add to the specified account. |
Output
The output is a JSON object representing the response from the Mastodon API after adding the note to the account. It typically contains details confirming the note was successfully added or information about the updated account 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 instance.
- Needs the Mastodon instance URL to direct API calls correctly.
- The node depends on the Mastodon API being accessible and the authenticated user having permissions to add notes to accounts.
Troubleshooting
Common issues:
- Invalid or missing Mastodon URL can cause connection failures.
- Incorrect or unauthorized API credentials may result in authentication errors.
- Providing an invalid or non-existent Account ID will lead to errors from the Mastodon API.
- Empty or improperly formatted note content might be rejected by the API.
Error messages and resolutions:
"The operation "addNoteToAccount" for resource "account" is not implemented!"— indicates a misconfiguration or unsupported operation; ensure the correct operation and resource are selected.- Authentication errors usually indicate invalid or expired API tokens; reconfigure credentials.
- Network or connection errors suggest checking the Mastodon URL and network availability.
- API error responses should be reviewed for specific messages indicating what went wrong (e.g., permission denied, invalid input).