Code can be found on https://github.com/limbo666/IFTTT_to_ESP8266.
Run the lua file and forward the server port (default is 8077) on your router.
On IFTTT side you have create as many applets as you like and set the action to webhooks.
To connect to your server, you should add the link to the action URL field.
The method should be set as "GET"
PANIC: unprotected error in call to Lua API (attempt to index a nil value)