Step-by-Step tutorial on how to setup automation.
By Mario Kandut
A professor at university once said to me:
If he has to decide on hiring a lazy student or a top-notch student, assuming both get the same work in the same time done. He would always choose the lazy person, because the lazy student is more efficient.
💰 Start your cloud journey with $100 in free credits with DigitalOcean.
After all these years I'd say don't be lazy, be smart. Automation can help you get the job done quicker and saves you time, which you can spend on the things you love. Maybe more coding? 😂
For creating an RSS feed in Gatsby, please refer to this post. How to setup an RSS feed in Gatsby
Zapier provides workflows to automate the use of web applications together. It is often described as a translator between web APIs. see wikipedia
So go to zapier.com and create an account. I would recommend setting up Two-Factor-Authentication.
When you have confirmed your email and you've logged in into zapier, you see a red button MAKE A ZAP. Click it!
Our automation should do this. Create a new medium post if a new item is in our RSS feed.
Choose the app RSS by Zapier.
Choose the trigger event.
Now add the Feed URL.
Click continue and check if it works with clicking on Test & Review.
I have two items in my RSS feed, so I choose one for further testing and click Done editing.
50% done. YAY. Now we have to setup the Do this... part.
Choose the app MEDIUM and choose the action event CREATE STORY and click continue.
Now choose the medium account you want to connect. If your account, doesn't appear you have to connect your medium account to your zapier account. Here are more details on this.
Now, let's customize our story for medium. You should see a form like this:
All fields marked required, need to be filled in.
<p>This story was originally published ...</p>.
IMPORTANT: for SEO purposes the original source of this content needs to be marked with a canonical tag. Otherwise, you have duplicate content and this could result in a search penalty.
Now, click Retest & Review and your post should get send to medium.
Log into medium and verify. And DONE ! YAY. 👍
dev.to is an amazing developer community, if you haven't joined yet, do it now and check it out.
IMPORTANT: The synced posts will be in your dashboards as drafts, so you can double check them. If you want fully auto-posting contact the admins and give them the right to set your posts to public. (send an email to [email protected]).
Hope you managed to automate your posts. If you have any questions, use the comment function or send me a message on twitter @mariokandut.
Never miss an article.