Specifying Zoom webinar ID when creating a HubSpot workflow via REST API
Hello,
I'm trying to create a HubSpot workflow that, upon submission of a form, adds the respondent to a Zoom webinar.
This can be done via HubSpot's web interface by using a form as the workflow's trigger and setting the webinar ID in an "Add Contact to Zoom Webinar" action.
However, I'm having some trouble doing the same via REST API.
The action's metadata field in the response is returned as empty (it was not edited), so it seems the response doesn't include the webinar ID that is necessary for the integration.
In any case, based on the above response, I was able to create the workflow sending the following payload in a POST request to /automation/v3/workflows:
{
"status": "error",
"message": "Invalid input JSON on line 1, column 271: Cannot deserialize instance of `com.hubspot.automationextensions.models.extension.value.MissingTypeMetadata$Json` out of START_ARRAY token",
"correlationId": "123-123-123"
}
So my question is: What field(s) should be used to specify the webinar ID when creating a workflow linked to a Zoom webinar?
Unfortunately that's not quite what I'm looking for.
I'm able to create other kinds of workflows via API, even using actions related to extensions, like an action related to a Salesforce campaign.
In this case, the problem is that, although I'm able to create the workflow with an "Add Contact to Zoom Webinar" action, I cannot find a way to specify the ID of the webinar for this action in the payload of the request.
For instance, when using the action related to Salesforce, I can specify the campaign ID like this: