I am creating an app in Zapier.
My API has several endpoints that do not return a body. When I run Zapier's validation, I get a "Must have a static sample" warning, which in theory prevents the app to be published.
Is it possible to have actions without output in Zapier, and how do I do it?
Best answer by ikbelkirasanView original
@Michele Dorigatti - When the API endpoint doesn’t return anything, don’t return the API response but instead just return an object that contains one key.
@Michele Dorigatti - Just checking in to see if the answer above helped you solve the problem?
@ikbelkirasan ! I am a colleague of Michele. We adopted your solutions, but I think Zapier should natively support endpoints that do not return a body, since it is a perfectly accetable, and sometimes more appropriate.
@Jerker Klang - Thanks for the update! I agree with you on this point. Fortunately, the solution is pretty straightforward :)