Workflow Extensions - Get Hubspot User ID on External Data

Hey guys,

We are using the Workflow Extensions here and it works like a charm. However, now we would like to retrieve the Hubspot User Id on external data, something like this:
1. Somehow, get the Hubspot User ID

2. Send this Hubspot User ID to the “dataUrl”

3. Match this Hubspot User Id on the database and return only the allowed options for that user

4. Hubspot Workflow Extensions now have options filtered by Hubspot User Id
Is that possible? We are noticing that the “portalId” level is not enough for our new feature, but we have no idea how to get that kind of information using workflow extensions. For now, we just receive:

origin: {
 portalId: 207XXXXX,
 actionDefinitionId: 81XXX,
 actionDefinitionVersion: 1,
 extensionDefinitionId: 81XXX,
 extensionDefinitionVersionId: 1
},
inputFieldName: 'afile',
fetchOptions: {},
fields: {},
portalId: 207XXXX,
extensionDefinitionId: 81XXX,
extensionsDefinitionVersion: 1,
inputFields: {}
}

* Numbers covered on propose.
We are wondering if that is possible also through “inputFields” or something. We are kindly hopeless on this and that is why we are here asking for help.
Thank you and best,
Gabriel Ávila

For clarity, are you looking for the user data of the person actually in the HubSpot UI using the workflow action? If this is the case, it’s not automatically available to you. You’ll need to add an input field ( which brings up user data integrity questions ) but its the only way to get that info