I’m really excited and happy that we can now create webhooks in workflows. But…
There is currently NO way to use these fields in custom code. They appear there, but they are greyed out. Why this is a big issue, is that I sometimes have the webhook passing through empty values for fields. If I try to use this value in a “Format Data” action (to store the data and then used it in the custom code action), I get an error.
Hi @Zayne,
I’d like to thank you for sharing your valuable feedback! This means a lot to us.
First, for information on the subject, I’d like to share this documentation:
- Use webhooks with HubSpot workflows
- Using webhooks in workflows
For new feature suggestions, I’d recommend first to search and check if this idea is already present on our Ideas Forum here. If you find a similar idea, give it an upvote and share your unique use case in the comments.
If the idea doesn’t exist already, please consider posting and creating a new Idea on our Ideas Forum here.
I also wanted to invite a couple of subject matter experts to this conversation: Hi @louischausse, @beeginman and @ChristinaKay can you think of a workaround or do you have suggestions to help @Zayne, please?
If anybody else has anything to add and/or share, please feel free to join in the conversation
Thank you for being part of the discussion!
Have a lovely day!
Best,
Bérangère
Have you tried to branch on the value of your empty webhook property? If values are standardized, empty values would take the “None met” branch and then maybe you could handle the rest from there. I know this might not work depending on your use case but this is another workaround that I found could be helpful sometime.
Sincerely yours,
The Wizard of Hubs
Don’t forget to mark my reply as a solution if you are satisfied. If not, do not hesitate to ask me anything!
Thanks Louis. It’s a good suggestion and I have tried that, but it is a rather clunky workaround when all I want to do is use the values from the webhook in a custom code block so that I can update HubSpot.