See the original request at Using Apilio account with TWO IFTTT instantiations
Allow more than on IFTTT key per Apilio account and be able to reference them in the Apilio IFTTT calls
Isn’t this obsolete with the new IFTTT integration?
Yes it is! I would love to see some more technical detail of how this part works as I obviously misunderstood it!
UPDATE: This does work already!!
I have done some more testing and this does work - I am not completely sure I understand why, but the new Apilio service somehow takes care of it.
- create a logic block on apilio, add a new IFTTT trigger
- This trigger is then available on the apilio service on all IFTTT accounts
- Go to the IFTTT account you want and then use this newly created trigger
It all works just fine - maybe I was being thick?
this works with the new interface because IFTTT uses OAuth 2.0 to authenticate with Apilio and interface design is a lot different from web hooks.
If you authenticate from multiple IFTTT accounts with Apilio, every one of them get’s a valid token to access data on Apilio. Therefore, when IFTTT requests e.g. variable names on behalf of an IFTTT user, it receives the contents from the Apilio account that IFTTT presents a valid keys for.
When Apilio wants to send data to IFTTT it sends an event notification to IFTTT which then makes IFTTT fetch the newest available data from Apilio.