zapier / zapier-platform

The SDK for you to build an integration on Zapier

Home Page:https://platform.zapier.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Input Field Types from Bundle

TrevorKiefaber opened this issue · comments

Current Behavior

Unable to determine the type of an input field through the bundle. If I need to format custom fields according to their data type, then I need to make the same request that I've already made to get the dynamic fields in the first place.

Desired Behavior

Have a way to identify the data type of a custom input field through the bundle so that I don't have to make additional API requests in order to properly format data in other outbound requests.

@xavdid has this been looked into, is there a time estimate on this?

Hi there! I no longer work at Zapier, so I can't speak to action here. @codebycaleb may be able to help update (if any)

👋🏻 Hello @TrevorKiefaber and @Kamehameya, we are going through our open issues and working to triage them as best we can.

What do you mean by "If I need to format custom fields according to their data type, then I need to make the same request that I've already made to get the dynamic fields in the first place."? Could you perhaps provide a sample code snippet that shows this in action?

If I'm understanding correctly, perhaps adding a new key to the bundle.meta that provides field-to-type mappings could help here?

@rnegron that would be perfect!