This article introduces how to utilize AWS Lambda so that Kintone can be used to make drafts of official tweets to be approved by a reviewer and then scheduled to post automatically to Twitter.
The general flow of the operation is as follows:
- An employee registers a tweet as well as the datetime to post the tweet in a Kintone record.
- A reviewer checks the tweet contents and approves or rejects it.
- If approved, the tweet is posted at the set datetime.
AWS Lambda is used to host the function that checks for ready tweets and posts them to Twitter at their defined times. It also updates the Kintone record by changing the status to Complete and inserting a link to the posted tweet in the record.