Use IFTTT's Webhook to Implement Message Reminders

After writing the automatic check-in script, I also hope to receive the push message after each script run. I tried to send emails with 163 mailboxes, but it always triggered the anti-spam mechanism to be blocked, whether it was to change keywords or set recipients. So, look for it, use IFTTT to do the push.


IFTTT is simply a remote automation platform where users can customize triggers and execute events, most of which are automated events outside the wall, such as automatically saving the photo to Evernote when you like it on Instagram, There are very few domestic platforms to access, and Weibo has been accessed for a while. At the time, there were some interesting applications, such as automatically sending Weibo when detecting a special situation.

Although at the mainland, IFTTT is somewhat unstable, it has a webhook function, citing its [official introduction] ( as follows

Integrate other services on IFTTT with your DIY projects. You can create Applets that work with any device or app that can make or receive a web request.


How To Access

First, you need to have an IFTTT account and then log in to the IFTTT website,Go to the [webhooks] ( section, there is a unique web request address for each user in the settings, and then create a new applet. The screenshot of my Bilibili check-in script configuration is as follows.



Webhook supports passing multiple parameters, and Notification supports custom push text, icons, and links.


Define a push function

def messagePush(RawData): 
p ='',data={'value1': RawData})

Then you can receive the push by activating the IFTTT app on your phone.


The IFTTT server is not in the mainland, and the push stability is affected by many factors.

In the actual experience process, the push has a delay of several minutes to several tens of minutes, so it is not suitable for use as a frequently pushed scene.

Some brands of operating systems can’t properly keep IFTTT in the background, so there will be cases where push messages are not received.