AppsPricingBlogTry it
Mastodon logo
Python logo

Connect Mastodon to Python

Build an AI agent that works across Mastodon and Python, on a schedule or when you click Run.

21 source actions
1 target actions

Why Connect Mastodon & Python?

Read what you need from Mastodon

Your agent uses Mastodon's documented actions to pull the records it needs, each time it runs.

Run a Python action

Then it uses one of 1 documented actions, such as Run Python Code.

Test it, then put it on a schedule

Run it once on your own data and check the result. Then set it to run daily, on weekdays or weekly.

Available Triggers & Actions

Mastodon logo

Mastodon

Triggers (4)

New Status

Emit new event when a new status is posted to your Profile. See the docs here

polling
New Status Bookmarked

Emit new event when the specified status is bookmarked. See the docs here

polling
New Status Boosted

Emit new event when the specified status is boosted. See the docs here

polling
New Status Favorited

Emit new event when the specified status is favorited. See the docs here

polling

Actions (21)

Bookmark Status

Privately bookmark a status. See the docs here

Boost Status

Reshare a status on your own profile. See the docs here

Delete Status

Delete one of your own statuses. See the docs here

Edit Status

Edit a given status to change its text or sensitivity. See the docs here

Favorite Status

Add a status to your favourites list. See the docs here

Get Accounts Following

Get the accounts that the given account is following. See the documentation

Mute Conversation

Do not receive notifications for the thread that this status is part of. Must be a thread in which you are a participant. See the docs here

Perform Search

Search for content in accounts, statuses or hashtags. See the docs here

Pin Status to Profile

Feature one of your own public statuses at the top of your profile. See the docs here

Post Multiple Statuses

Publish multiple statuses with the given parameters, the subsequent statuses will be posted as a reply of of the first status. See the documentation

Post Status

Publish a status with the given parameters. See the documentation

Undo Bookmark of a Status

Remove a status from your private bookmarks. See the docs here

Undo Boost of a Status

Undo a reshare of a status. See the docs here

Undo Favorite of a Status

Remove a status from your favourites list.. See the docs here

Unmute a Conversation

Start receiving notifications again for the thread that this status is part of. See the docs here

Unpin Status from Profile

Unfeature a status from the top of your profile. See the docs here

View Hashtag Timeline

View public statuses containing the given hashtag. See the docs here

View Home Timeline

View statuses from followed users. See the docs here

View List Timeline

View statuses in the given list timeline. See the docs here

View Public Timeline

View public statuses. See the docs here

View Single Status

Obtain information about a status. See the docs here

Python logo

Python

Actions (1)

Run Python Code

Write Python and use any of the 350k+ PyPi packages available. Refer to the Mazaal AI Python docs to learn more.

Integration Features

21 documented Mastodon actions
1 documented Python actions
Plain-English agent instructions
Daily, weekday or weekly schedule, or run on demand
Execution monitoring

Capability Examples

Mastodon trigger → Python action

Catalog example
MastodonMastodon

New Status

PythonPython

Run Python Code

How It Works

1

Connect Apps

Authenticate your Mastodon and Python accounts

2

Describe the Job

Say what to read from Mastodon and what to do in Python

3

Choose an Action

Select the documented Python operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Scheduled or On-demand Runs

Runs daily, on weekdays or weekly at a set time, or when you click Run. It does not fire on live Mastodon events yet.

Automated Actions

Use 1 documented Python actions each time the agent runs.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Describe the job in plain English. The agent picks theMastodon and Python actions it needs.

Your Own Accounts

You connect your own Mastodon and Python accounts. App connections need a paid plan.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Mastodon logo

All Mastodon Integrations

Explore all available Mastodon connections

View All Integrations
Python logo

All Python Integrations

Explore all available Python connections

View All Integrations

Ready to Connect Mastodon & Python?

Build this agent in Mazaal AI and test it on your ownMastodon and Python data.

Start building

Rather not build it yourself? We set up one Mastodon to Python agent on your accounts for A$490: a 30-minute call, a test on your real data, and 14 days of fixes. Plan billed separately. Email Enod