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 interacts with the Mastodon API, specifically allowing users to retrieve various types of data related to Mastodon accounts, statuses, timelines, and more. For the Account resource with the Get Account Statuses operation, it fetches the statuses (posts) made by a specific Mastodon account.
This is useful in scenarios where you want to automate workflows involving Mastodon content, such as monitoring an account's posts, archiving statuses, or triggering actions based on new posts from a user.
Example use cases:
- Automatically fetching recent posts from a Mastodon user to analyze sentiment or content.
- Archiving all statuses from a particular account for backup or compliance.
- Triggering notifications or other workflows when a specific user posts new content.
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 whose statuses you want to retrieve. |
Output
The output contains JSON objects representing the statuses posted by the specified Mastodon account. Each JSON object corresponds to one status and includes all relevant details as returned by the Mastodon API, such as content, creation date, media attachments, visibility, and more.
If multiple statuses are returned, each will be output as a separate JSON item.
The node does not output binary data for this operation.
Dependencies
- Requires an API authentication token credential configured in n8n to access the Mastodon API.
- Needs the base URL of the Mastodon instance to connect to, which can differ depending on the server hosting the account.
- No additional external dependencies beyond the Mastodon API and proper OAuth2 credentials.
Troubleshooting
Common issues:
- Incorrect or missing Mastodon URL can cause connection failures.
- Invalid or expired API authentication tokens will result in authorization errors.
- Providing an invalid or non-existent Account ID will lead to errors or empty results.
Error messages:
"The operation "getAccountStatuses" for resource "account" is not implemented!"— This indicates a misconfiguration or typo in the operation name.- Network or authentication errors typically indicate problems with the provided Mastodon URL or credentials.
Resolutions:
- Verify the Mastodon instance URL is correct and accessible.
- Ensure the API authentication token is valid and has necessary permissions.
- Double-check the Account ID for correctness.