Webhook configuration in Automatic app?

  • 1
  • Idea
  • Updated 3 years ago
  • Not Planned
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members.

It would be lovely if we could configure webhooks for events directly in the Automatic app. I'm fine with writing the receiving code at my URLs. I hate to have to write an app or fake up all the authorization stuff just to get the event notifications sent. This does not seem hard.
Photo of richard maliszewski

richard maliszewski

  • 110 Points 100 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Tom

Tom, Former Employee

  • 41,706 Points 20k badge 2x thumb
Welcome to the community Richard and thanks for the idea. I’ll pass your message along to the team for consideration. If you’d like to read more about our API, be sure to check out this FAQ.
Photo of Adam Altman

Adam Altman, Alum

  • 3,712 Points 3k badge 2x thumb
Hi Richard,

I'm Adam and work on Product at Automatic.  Could you tell me more about what you'd like to accomplish? If it's one of several things you *might* be trying to do, there are tools that would help. If it's a truly brand new usecase, I want to hear about it!

Adam
Photo of richard maliszewski

richard maliszewski

  • 110 Points 100 badge 2x thumb
We're just earthlings, but we have a heavily automated home.  Our own servers, host our own mail, yada, yada.  I realize I can probably do something akin to what I want via IFTTT, but the delays make it not desirable for real-time automation.   IFTTT also doesn't have any straightforward way to send out the equivalent of a cURL call as an action in a recipe.

Your API system is a fair amount of overhead for us to go through to have a webhook called on one of your events.  As a user, if I were going to be setting up through your authorization system to have 3rd party apps get my events, I'd want some way to change my mind.  Easily.  Unless I am misreading your system, that's not trivial.

If this were an in-app setting where I could set event actions (and ideally, per-event-type actions), then the responses should be crisp, and under my control.  Easy to change my mind.  Easy to experiment with different ways of handling the events.

Even more ideally, these per-event "hooks" could include iOS URL Schemes.  One of the threads about IFTTT on your forum has the poster unsure about the crispness of getting an app launced using IFTTT.  If you supported in-app per-event invocation of URL Schemes, that would be instantaneous.

But for starters, just having the ability to choose, in-app, a webhook to send your POST event data to would get us a long way.
Photo of Adam Altman

Adam Altman, Alum

  • 3,712 Points 3k badge 2x thumb
Richard,

Thanks for explaining, and totally awesome that you've connected ALLOFTHETHINGS in your home.   You're right there's no dedicated feature to accomplish what you want right now.  It's good input and I can't promise we'll get to this specifically but I can say we will improve our dev tools significantly in the coming months.  This feature would be a bit technical for the majority of our userbase, so if we were to deliver it it would likely be through a web based developers control tool and not part of the main mobile applications.

What you can do now
Looks like you're aware of the tools that we have, so I won't repeat them.  Just want to add that:
  1. we do have source code you can use for our demo apps, so there wouldn't be any need to re-write your own auth.
  2. if you're talking about just one or two users, it's easy enough (for someone not afraid of the command line) to get through oAuth manually.  You just have to do it once per user and we will from that point on keep sending webhooks to the application's registered URL.
  3. revoking an access token is manual at this point.  You have to email developer@automatic.com and we can help you remove something if you need it, though it's just as easy to ignore them make your app not respond.
  4. if you're just looking to test flows, you can send them at will from our dev dashboard or even just curl POST something of our proper format to your own URL.  There's a really helpful chrome extension to do this called Postman.
Hope that helps a bit.
Adam

This conversation is no longer open for comments or replies.