Skip to main content

I can see in the UI documents that you can link a create action to a search actions so if the search returns nothing it automatically runs the create action. 

I can’t see anything on how to add that vis the CLI inteface.

Can you tell me hoe to do it or point me at the documentation that will tell me.

Best resource is to look at the schema for that configuration: https://zapier.github.io/zapier-platform-schema/build/schema.html#searchorcreateschema

 

And then in the app schema how to include that in your app definition: https://zapier.github.io/zapier-platform-schema/build/schema.html#appschema

 

In short, create a search. Create an action. Create a searchorcreate “wrapper” to tie those two together. Add all of those to your “index” to make them available to users in the Zap editor.

 

Let us know if that doesn’t get you up and running.