Skip to content
Mastodon

How to use Mastodon

CommunicationCost: 1 credit per runTop 100 · #84Full guide

What it is for

Mastodon in flooows lets you post, schedule and manage statuses, upload media, follow accounts and search content on any fediverse server. You can also react to mentions, new followers or posts with a hashtag.

New Mention, New Follower, New Status from Account and New Status with Hashtag use polling: flooows checks your server every few minutes and starts the flow for each new item.

Set up the connection

Authentication type: Custom credentials

  1. 1In Base URL enter your server address, for example https://mastodon.social.
  2. 2In Mastodon go to Preferences > Development and create a new application with any name.
  3. 3In the Scopes list enable read and write (by default only profile is selected), then save.
  4. 4Open the new application, copy its access token and paste it into Access Token in flooows.
  5. 5Save the connection.
Connection fieldTypeRequired
Base URLTextYes
Access TokenTextYes

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Post Status: write the Status Text (you can map content from RSS or AI), pick Visibility and add Media or a Content Warning if needed.
  • Schedule Status posts at the Scheduled At time and even supports Poll Options and Poll Duration.
  • Upload Media uploads a file with Alt Text and returns an ID to use in Media IDs.
  • Lookup Account gets the Account ID from a Handle, needed for Follow Account or to filter the trigger.
  • Search and Get Hashtag Timeline find posts, accounts or tags with filters and Limit.

Tips

  • •Always fill in Alt Text for images: it is a highly valued practice on Mastodon.
  • •Enable Skip Replies and Skip Boosts in New Status from Account to get only original posts.
  • •Respect your server's rules on automated posting.

Triggers (4)

Events that can start a flow. Expand each one to see its fields.

New MentionPeriodic check0 fields

No fields to configure.

New FollowerPeriodic check0 fields

No fields to configure.

New Status from AccountPeriodic check3 fields
FieldTypeRequired
AccountTextYes
Skip RepliesYes / NoNo
Skip BoostsYes / NoNo
New Status with HashtagPeriodic check3 fields
FieldTypeRequired
HashtagTextYes
Only Local StatusesYes / NoNo
Only Statuses with MediaYes / NoNo

Actions (14)

Operations available as flow steps. Expand each one to see its fields.

Post Status7 fields
FieldTypeRequired
Status TextLong textYes
MediaFileNo
VisibilityFixed listNo
Content WarningTextNo
Reply To Status IDTextNo
Media IDsList of valuesNo
Mark Media as SensitiveFixed listNo
Schedule Status12 fields
FieldTypeRequired
Scheduled AtDate and timeYes
Status TextLong textNo
VisibilityFixed listNo
Reply To Status IDTextNo
Content WarningTextNo
Mark Media as SensitiveFixed listNo
LanguageTextNo
Media IDsList of valuesNo
Poll OptionsList of valuesNo
Poll DurationNumberNo
Allow Multiple ChoicesFixed listNo
Deduplication KeyTextNo
Get Status1 fields
FieldTypeRequired
Status IDTextYes
Edit Status9 fields
FieldTypeRequired
Status IDTextYes
Status TextLong textNo
Content WarningTextNo
Mark Media as SensitiveFixed listNo
LanguageTextNo
Media IDsList of valuesNo
Poll OptionsList of valuesNo
Poll DurationNumberNo
Allow Multiple ChoicesFixed listNo
Delete Status2 fields
FieldTypeRequired
Status IDTextYes
Delete Media NowYes / NoNo
Favourite Status1 fields
FieldTypeRequired
Status IDTextYes
Boost Status2 fields
FieldTypeRequired
Status IDTextYes
VisibilityFixed listNo
Upload Media3 fields
FieldTypeRequired
FileFileYes
Alt TextLong textNo
Focal PointTextNo
Lookup Account1 fields
FieldTypeRequired
HandleTextYes
Follow Account4 fields
FieldTypeRequired
Account IDTextYes
Show Their BoostsFixed listNo
Notify When They PostFixed listNo
LanguagesList of valuesNo
Unfollow Account1 fields
FieldTypeRequired
Account IDTextYes
Get Hashtag Timeline11 fields
FieldTypeRequired
HashtagTextYes
Any of These TagsList of valuesNo
All of These TagsList of valuesNo
None of These TagsList of valuesNo
Only Local StatusesYes / NoNo
Only Remote StatusesYes / NoNo
Only Statuses with MediaYes / NoNo
LimitNumberNo
Max IDTextNo
Since IDTextNo
Min IDTextNo
Search10 fields
FieldTypeRequired
QueryTextYes
Result TypeFixed listNo
Resolve Remote ContentFixed listNo
Only Accounts I FollowFixed listNo
Statuses by Account IDTextNo
Exclude Unreviewed HashtagsFixed listNo
LimitNumberNo
OffsetNumberNo
Max IDTextNo
Min IDTextNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Missing scope error

Edit the application to grant read and write access, save so a fresh token is issued, and update the connection with it.

401 error

Check Base URL matches the server where you created the token.

Rate limit (429)

Add a Delay between posts or lower the frequency.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps