Yes. There is an Android app for IFTTT that makes various aspects of your phone a source for triggers and actions. As far as your personal automation API, you can issue requests to it with a lot of different apps. I personally use Trigger. I continue this series on writing a personal automation API on my blog if you want more details:
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.