Actions115
- Account Actions
- Announcements Actions
- Apps Actions
- Authentication Actions
- Blocks Actions
- Bookmarks Actions
- Canonical Email Blocks Actions
- Cohorts Actions
- Conversations Actions
- Custom Emojis Actions
- Directory Actions
- Domains (Allowed) Actions
- Domains (Blocked) Actions
- Domains (Email Blocked) Actions
- Emails Actions
- Endorsements Actions
- Favourites Actions
- Featured Tags Actions
- Filters Actions
- Follow Requests Actions
- Followed Tags Actions
- Instance Actions
- IPs Actions
- Lists Actions
- Markers Actions
- Measures Actions
- Media Actions
- Mutes Actions
- Notifications Actions
- oEmbed Actions
- Polls Actions
- Preferences Actions
- Profile Actions
- Proofs Actions
- Push Actions
- Reports Actions
- Retention Actions
- Scheduled Statuses Actions
- Search Actions
- Status Actions
- Streaming Actions
- Suggestions Actions
- Tags Actions
- Timeline Actions
Notifications → Get Unread Count
AI-generatedOverview
This node interacts with the Mastodon API to retrieve the count of unread notifications for a user. It is useful for monitoring new notifications on a Mastodon instance, enabling automation workflows to respond to unread notifications, such as alerting users or triggering other actions based on notification counts.
Use Case Examples
- Automatically check the number of unread notifications on a Mastodon account and send an alert if there are any.
- Integrate Mastodon unread notification counts into a dashboard for social media monitoring.
Properties
| Name | Meaning |
|---|---|
| Mastodon URL | The URL of the Mastodon instance to connect to. |
| Authentication Type | The method used to authenticate with the Mastodon instance, either OAuth2 or Access Token. |
Output
JSON
jsonunread_count- The number of unread notifications retrieved from the Mastodon instance.
Dependencies
- Requires Mastodon API credentials, either OAuth2 or an access token, to authenticate requests.
Troubleshooting
- Error indicating no Mastodon Access Token or OAuth2 credential selected means the user must configure the appropriate authentication credentials in the node settings.
- If the operation is 'authentication' but the selected authentication type is not OAuth2, an error is thrown because authentication operations require OAuth2 credentials.
- Errors about unimplemented operations or unknown resources indicate a mismatch between the selected resource/operation and the node's supported methods. Verify the resource and operation names are correct.