Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Streaming → Stream Hashtag Timeline

AI-generated

Overview

This node operation connects to a Mastodon instance to stream real-time updates from a specific hashtag timeline. It is useful for monitoring social media activity related to a particular hashtag, enabling live data processing or triggering workflows based on hashtagged posts. For example, it can be used to track brand mentions, event hashtags, or trending topics on Mastodon.

Use Case Examples

  1. Streaming posts tagged with 'n8n' to analyze community engagement.
  2. Monitoring a conference hashtag to trigger notifications or aggregate content.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, e.g., https://mastodon.social.
Authentication Type Method to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Tag The hashtag to stream, specified without the # symbol.
Local Optional field to filter the stream to only show local statuses (posts from the same Mastodon instance).

Output

JSON

  • json - The streamed Mastodon posts matching the specified hashtag timeline, provided as JSON objects.

Dependencies

  • Requires authentication credentials for Mastodon, either OAuth2 or an access token.

Troubleshooting

  • Ensure the correct Mastodon URL is provided and accessible.
  • Verify that the selected authentication type matches the provided credentials.
  • If streaming does not start, check network connectivity and Mastodon instance availability.
  • Errors related to missing credentials indicate that the appropriate Mastodon API credentials must be configured in n8n.

Links

Discussion