Google Home Assistant request_sync Problem

Hi, I’m new here but have been reading a fair bit on the forums etc but now I seem to be stuck. Can any one please help me with this Automation ?

- alias: 'Update Google Assistant on start of Home Assistant'
  trigger:
    platform: homeassistant
    event: start
  action:
        service: google_assistant.request_sync

If I use the above I get…

Logger: homeassistant.components.google_assistant
Source: components/google_assistant/init.py:108
Integration: Google Assistant (documentation, issues)
No agent_user_id supplied for request_sync. Call as a user or pass in user id as agent_user_id

…therefore I have been trying to use…

- alias: 'Update Google Assistant on start of Home Assistant'
  trigger:
    platform: homeassistant
    event: start
  action:
      - data:
        agent_user_id: !secret GAagent_user_id
        service: google_assistant.request_sync

How ever this comes up as an invalid config… can any one help please as I am still finding my way around Yaml ?

Thanks

Terran

Not sure how I resolved this but I did add a few more contact details in to the Google action and then retest. Issue sorted.

Terran