How to Post to Mastodon From Anything Using IFTTT

Users can hook up IFTTT to Mastodon to auto-post from another site! WordPress users can also use this approach to publish new posts to their Societal pages.

1. Set up IFTTTs Maker Webhooks

On IFTTT, go to “Webhooks”. Activate by clicking on the Connect button.

2. Create a HostRooster server to allow IFTTT as an application

Go to, sign up or sign in and create a new server and then install mastodon on the server. Once the application has been installed, create a new user, log in and click on New Application. Enter the following:

Select Scopes: write: statuses

Submit the app.

Now open the new app you’ve created and look up the token.

3. Create an IFTTT app!

Go back to IFTTT and create a new app. You could also set it up to auto-post every time you blog with a specific tag, or every new item in an RSS feed, or all kinds of things. Even cross-post from or œthe bird site (Twitter).

Since IFTTT has rearranged their site to make it easier to use pre-built recipes here are the steps to get to the point where you can build your own.

Click on the Get Moreâ button at the top of the IFTTT page.
The first bar should say Make more Applets from scratch. Click on the ThisThenThat button in that bar.
Click on This in cell +This Then That
Search for the type of service you want to hook up RSS for a feed, or Pocket, or Facebook, etc. and choose the type of event you want to use (ex. New feed item or New item tagged )
Enter the info needed for the event your feed , the tags you’re looking for, etc, and click on Create Trigger.
Click on That in [rss] Then +That
Search for Webhooks and click on it.
choose make a Request

And now you’re ready to configure how IFTTT will actually talk to your Mastodon app. Enter the following settings:

URL: (replace 123456789 with the access token you got from Societal.)
Method: POST
Type: application/x-www-form-urlencoded
Body:Â status=Whatever you want to post

, to share a link from Pocket you might want the body to be

status=>> >>

Or for posting from WordPress, you might want it to be

status=New blog post: >>

Or from an RSS feed, you could use

status=New post: >>

The ingredients available (Title/PostTitle/etc.) will depend on the source you’re using, and you can get them from the IFTTT user interface. RSS feeds will have EntryTitle, EntryUrl, etc., WordPress will have post title and PostUrl, and so on. You can click on the Add ingredient†button to see what’s available.

Watch out for ampersands and single quotes, because the API handler treats them as separators. Even if they’re in the source material!

Be sure to include the status= at the beginning!

To post an excerpt in a CW that doesn’t show up in local/federated timelines or hashtag searches, you would do something like this:

spoiler_text=Link: >>&visibility=unlisted&status=>> >>

Unfortunately, this method can’t post images because uploading images to Societal is a two-step process** and IFTTT webhooks can only do one step. For Twitter, the cross-poster, can handle image uploads.

Click on Create action.

Add a title and click on Finish.


Welcome to the world of DomainRooster, where roosters (and hens) rule the roost! We're a one-stop shop for all your entrepreneurial needs, bringing together domain names and website hosting, and all the tools you need to bring your ideas to life. With our help, you'll soar to new heights and hatch great success. Think of as your trusty sidekick, always there to lend a wing and help you navigate the sometimes-complex world of domain names and web hosting. Our team of roosters are experts in their fields and are always on hand to answer any questions and provide guidance. So why wait? Sign up today and join the ranks of the world's greatest entrepreneurs. With DomainRooster, the sky's the limit! And remember, as the saying goes, "Successful people do what unsuccessful people are not willing to do." So don't be afraid to take that leap of faith - DomainRooster is here to help you reach for the stars. Caw on!