How I built a Twitter bot with no-code in 10 minutes
Tags: nocode, tutorial
Published: 2020-07-27 16:28:56

---
title: How I built a Twitter bot with no-code in 10 minutes
published: true
date: 2020-07-23 00:59:00 UTC
tags: NoCode,Tutorial
canonical_url: https://maxkatz.org/2020/07/22/how-i-built-a-twitter-bot-with-no-code-in-10-minutes/
---

Earlier this year I shared:

{% twitter 1218706628507160576 %}

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

I published the following blog posts where I show how to take an application built with code and rebuild it with no-code:

- [Tutorial: building a no-code application to text positive news with Parabola, News API, Watson NLU and Twilio](https://dev.to/maxkatz/tutorial-building-a-no-code-application-to-text-positive-news-with-parabola-news-api-watson-nlu-and-twilio-34ka)
- [Building a no-code application that sends an email and a text message when a new user registers](https://dev.to/maxkatz/building-a-no-code-application-that-sends-an-email-and-a-text-message-when-a-new-user-registers-3d5l)

As I continue my journey I stumbled across another great application [How I Built a Serverless AWS Lambda Twitter Bot in NodeJS in a Single Day](https://medium.com/swlh/how-i-built-a-serverless-aws-lambda-twitter-bot-in-nodejs-in-a-single-day-6901f8df13f0) and decided build it with no-code. In this blog post I’m going to show how I built a Twitter bot that posts an inspirational tweet every day at a specified time. Here is how it looks:

{% twitter 1285620629711007744 %}

I was able to build the Twitter bot in about 10 minutes.

I used the following tools:

- [Zapier](http://zapier.com) – for integration and bot logic
- [They Said So quotes API](https://theysaidso.com/api/) – API to get inspiration quotes

I created a Zap that has the following steps:

1. Every day at 10am PT
2. Get a daily inspirational quote
3. Post a message to Twitter with the quote

Let’s see how each steps looks in more detail.

## Every Day step

The Every Day step specifies when to run this Zap. In this example I’m running the Zap every day at 10am Pacific Time:

![](https://katzmax.files.wordpress.com/2020/07/twitterbot_zap_step1.png?w=1024)<figcaption>Every Day step – when to run the Zap</figcaption>

Note that you can see the outline of the zap on the left.

The next step is to invoke the quotes API.

## GET step

The GET step allows to invoke any external REST API. In this step I’m invoking

![](https://katzmax.files.wordpress.com/2020/07/twitterbot_zap_step2.png?w=1024)<figcaption>GET step – invoking an external API</figcaption>

In this step I’m invoking the [https://quotes.rest/qod](https://quotes.rest/qod) API (Quotes API is from [They Said So®](https://theysaidso.com "Powered by quotes from theysaidso.com"))

The last step it so create a tweet.

## Create Tweet in Twitter step

In this step you connect to Twitter and put together the tweet to share:

![](https://katzmax.files.wordpress.com/2020/07/twitterbot_zap_step3.png?w=1024)<figcaption>Create Tweet in Twitter step – posting a message to Twitter</figcaption>

The tweet message consists of the quote, a link to the quote and an Twitter image.

Once the Zap is ready you need to enable it to run and that’s it.

What I find incredible (or perhaps not because I’m using no-code tools) is that I was able to build this bot in under 10 minutes.