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 manage Mastodon accounts and perform various account-related operations. The "Unpin Account" operation under the "Account" resource removes a pinned status from a specified Mastodon account. This is useful when you want to unhighlight or deprioritize an account that was previously pinned in your Mastodon instance.
Practical examples include:
- Unpinning a user account that was previously featured on your profile or timeline.
- Managing which accounts are highlighted in your Mastodon client or instance by dynamically pinning and unpinning accounts based on certain criteria or events.
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 unpin. |
Output
The output JSON contains the response from the Mastodon API after attempting to unpin the specified account. Typically, this will be a confirmation object indicating success or details about the unpinned account. The exact structure depends on the Mastodon API's response for the unpin action.
No binary data output is expected from 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 permission to unpin accounts.
Troubleshooting
Common issues:
- Incorrect Mastodon URL or unreachable instance: Ensure the URL is correct and the instance is online.
- Invalid or missing account ID: Verify the account ID exists and is correctly entered.
- Insufficient permissions: The authenticated user must have rights to unpin accounts.
- Network or authentication errors: Check API credentials and network connectivity.
Error messages:
"The operation "unpinAccount" for resource "account" is not implemented!"— This indicates a misconfiguration or unsupported operation; ensure the operation name matches exactly.- API error responses related to authorization or invalid parameters will be passed through; check the message for specifics.
To resolve errors, verify all input properties, credentials, and network access. Enable "Continue On Fail" in the node settings to handle errors gracefully during workflows.