Hi all,
I’m trying to send data from IFTTT to Home Assistant. I would then like Home assistant to do something with that data. In the example below I wan’t it to simply send it to facebook messenger.
I have set up the test as a script.
send_location_to_fb_test:
sequence:
- service: notify.notify
data:
entity_id: notify.facebook_chat_bot
message: {"This is a test of 1: {{item A}}, 2: {{item B}} and 3: {{item C}}"}
target: '+44123456789'
I have facebook messenger working ok with with reading states already within home assistant (such as the location example), and I have IFTTT able to send commands (e.g. volume up / down etc) and trigger scripts.
This is what I have in the ‘body’ section of IFTTT:
{ "entity_id" : "script.facebook_chat_bot", "item A" : "Test 1 ", "item B" : "Test 2" , "item C" : "Test 3"}
Any help would be appreciated,
Thanks,