Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Status → Create Status

AI-generated

Overview

This node interacts with the Mastodon API to create a new status (post) on a specified Mastodon instance. It supports authentication via OAuth2 or Access Token and allows users to specify the status text along with additional optional fields such as media attachments, reply ID, sensitivity flag, spoiler text, and visibility settings. This node is useful for automating social media posting workflows, integrating Mastodon status updates into broader automation processes, or managing Mastodon content programmatically.

Use Case Examples

  1. Automatically post updates or announcements to a Mastodon account from an external system.
  2. Create replies or threaded conversations by specifying the 'In Reply To ID'.
  3. Post media-rich statuses by attaching media IDs to the status.
  4. Control the visibility of posts (public, unlisted, private, direct) based on the context or audience.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to, e.g., https://mastodon.social. This defines the target server for the API requests.
Authentication Type The method used to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Status Text The main text content of the status to be posted. This is required.
Additional Fields Optional parameters to customize the status creation, including media IDs, reply ID, sensitivity flag, spoiler text, and visibility.

Output

JSON

  • id - The unique identifier of the created status.
  • created_at - Timestamp when the status was created.
  • content - The HTML content of the status.
  • visibility - The visibility setting of the status.
  • sensitive - Indicates if the status is marked as sensitive.
  • spoiler_text - The spoiler text shown before the status content.
  • media_attachments - List of media attachments associated with the status.

Dependencies

  • Mastodon API

Troubleshooting

  • Ensure the correct Mastodon URL is provided and reachable.
  • Verify that the selected authentication type matches the provided credentials.
  • If using OAuth2, ensure the OAuth2 credentials are properly configured and authorized.
  • If using Access Token, ensure the token has the necessary permissions to post statuses.
  • Check that required fields like 'Status Text' are not empty.
  • Handle API rate limits or errors returned by the Mastodon server gracefully.

Links

Discussion