Trying to create an automation from webhook to MQTT

Hi, I’m trying to convert a webhook json request to a MQTT call
alias: rest2mqtt
description: rest2mqtt
trigger:

  • platform: webhook
    webhook_id: mqtt
    condition: []
    action:
    service: mqtt.publish
    data_template:
    topic: testar/mqtt
    payload_template: ‘{{ trigger.data }}’

If I send {“message”:“test”} to webhook I’m getting MQTT message <MultiDict(’{“message”:“test”}’: ‘’)>

Have also tried: payload_template: ‘{{ trigger.json}}’ but the it result in empty MQTT message.

Any ideas?