Hi,
I’m trying to setup a webhook to call “conversation” service. So far I got ifttt WebHook calling and HA receiving everything just fine. I just can’t figure out how to call the conversation service with the incoming text.
Any suggestions?
Thanks!
Tried using automation:
- id: a1
alias: webhook handler
trigger:
- event_data:
action: call_service
event_type: ifttt_webhook_received
platform: event
condition: []
action:
- service: conversation.process
data:
text: '{{ trigger.event.data.text }}'
My webhook body json looks like this:
{ "action": "call_service", "service": "conversation.process", "text": "{{TextField}}" }
log:
[homeassistant.core] Bus:Handling <Event ifttt_webhook_received[L]: action=call_service, domain=conversation, service=conversation.process, text=turn front porch off, webhook_id=xxxxxxxxxxxx>
[homeassistant.core] Bus:Handling <Event automation_triggered[L]: name=webhook handler, entity_id=automation.webhook_handler>
[homeassistant.components.automation] Executing webhook handler
[homeassistant.helpers.script] Script webhook handler: Running script
[homeassistant.helpers.script] Script webhook handler: Executing step call service
[homeassistant.core] Bus:Handling <Event call_service[L]: domain=conversation, service=process, service_data=text={{ trigger.event.data.text }}>
[homeassistant.components.conversation] Processing: <{{ trigger.event.data.text }}>
And off course it does not work 
Got it working!
- id: a1
alias: webhook handler
trigger:
- event_data:
action: call_service
event_type: ifttt_webhook_received
platform: event
condition: []
action:
- service: conversation.process
data_template: <------
text: '{{ trigger.event.data.text }}'