Alrighty, after working on this for a little bit and not finding clear answers I finally figured it out and thought I would share how:
NOTE: I use Nabu Casa Cloud. If you don’t you need to set up HTTPS. I cant help with that, but I can highly recommend just using the cloud.
Step 1: In the Home Assistant UI go to configuration -> integrations -> (+) and add IFTTT as an integration. This will give you the URL
Step 2: Add this to automations.yaml
- id: webhook
alias: 'Webhook Recieved'
hide_entity: False
initial_state: 'true'
trigger:
platform: event
event_type: ifttt_webhook_received
event_data:
action: call_service
action:
service_template: '{{ trigger.event.data.service }}'
data_template:
name: '{{ trigger.event.data.name }}'
Step 3: Format your IFTTT aplet. Use whatever If statement (In this case Added item to shopping list), and
URL: Taken from IFTTT integration
Method: Post
Content Type: Application/JSON
Body:
{ "action": "call_service", "service": "shopping_list.add_item", "name": "{{AddedItem}}"}
Step 4: Add items! It should work. It does for me