Looker Action Hub - configuration of field tags not working as expected

Hi,

I'm building a custom Action Hub to handle custom actions in our Looker instance. We want users to be able to click on a message_id, choose a status from a dropdown, and have the resulting row of data inserted into a BigQuery table. To achieve this, I have used GCP App Engine to host the url endpoints and do the work of getting the data into BQ.

The issue I'm having is with the initial configuration of the Action. According to the documentation, I need to identify the tags a user can apply to fields in Looker to enable this action. The documentation, as well as the code for the official integrations, state that I need to return an object from my base url that looks like this:

 

 

 

{
  "label": "My Action Hub",
  "integrations": [
    {
      "name": "my_action",
      "label": "My Great Action",
      "supported_action_types": ["cell"],
      "url": "https://example.com/actions/my_action/execute",
      "form_url": "https://example.com/actions/my_action/form"
      "required_fields": [{ tag: "my_tag" }]
    }
  ]
}

 

 

 

Documentation here: https://developers.looker.com/actions/writing-actions/action-api-reference and here:  https://cloud.google.com/looker/docs/action-hub#writing_an_action and code examples here: https://github.com/looker-open-source/actions/tree/master/src/actions

Specifically, both the HubSpot actions have the same requirements as my action: fields must have one specific tag to be used with the action.

On the Actions page in my Looker instance, my action is displayed like this (I've blocked out our company name):
Screenshot 2023-11-29 at 12.19.18.pngFor reference, the HubSpot actions look like this:
Screenshot 2023-11-29 at 12.22.22.png

I've tried every version of tag/any_tag/all_tags with strings and arrays of strings that I can think of, and I can't get Looker to recognise my tag configuration. 

Any help would be greatly appreciated.

1 2 171
2 REPLIES 2

I have the same problem, in the action hub I see 'Action can be used with fields tagged undefined.'
when my required fields looks like this:

"required_fields": [{ "tag": "send_to_bq_cell_tag" }]

anyone on staff seen this? this is still broken in 24.6.29, even some out of the box actions have this problem

ogarza_0-1715185588589.png