I have an Action for looking up a record in my app, in which I have an Input Field with a static Dropdown that allows the zap builder to pick the object. (It works just like the Find Record action in the Salesforce integration)
Since this one Action can be used for 10 different objects, I have limited the Sample Data to the only field that every object will have, which is the ID.
Now when creating a Zap Template that uses this Action, it is giving me errors because I don’t have Sample Data for the object I’m using in the Template. For example:
- I want to filter on whether the record has a Salesforce Opportunity ID, but the filter gives an error if I don’t specify a Sample Data field.
- I want map fields in subsequent steps but can’t do it without Sample Data.
Is there a way to make my Sample Data dynamic so it changes depending on which object is selected in the Object Input Field?
Are there any other ways to make Templates with Actions for generic objects? Or do I have to create a Find Record Action for every object in my app?