Best answer

Search or write action

  • 29 April 2022
  • 4 replies
  • 196 views

Hey,

I can see that Mailchimp have an action “Search or write” 
 

 

How do you create such an action with Zapier CLI?
The only action-types that are available in the CLI script are trigger|search|create|resource.

Greetings

icon

Best answer by Zane 7 May 2022, 02:30

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

I’ve noticed that this is available when making actions via the Zapier UI.
But I’m working with Zapier CLI and can’t seem to find any information about this in the manual.

Does anybody know if this is possible with Zapier CLI?

Userlevel 2
Badge +2

Hi @Development Flexmail 

Seeing that you are a developer, it's best to reach out to us through a dedicated contact form within the Developer platform, located here: https://developer.zapier.com/contact.

There, the appropriate team would assist you with this.

However, the ‘Search or Write’ action is under the ‘Search’ action type. You should be able to specify how you want the app to function when an item cannot be found.

As I mentioned, the dedicated team that you can contact from the developer platform would assist you better on this.

I hope that helps.

Userlevel 7
Badge +9

@Development Flexmail  A quick way to grok search or create in the CLI is to have a look at the schema: https://zapier.github.io/zapier-platform-schema/build/schema.html#searchorcreateschema There you’ll find that search or create is just an object that pairs a search and a create that you’ve configured separately.  Once configured you’ll reference that object in the searchOrCreates key to your app object alongside your triggers, actions, auth, etc.. https://zapier.github.io/zapier-platform-schema/build/schema.html#appschema That’ll instruct the Zap Editor to link those two operations together for the user.

There’s a simple example here: https://github.com/zapier/zapier-platform/tree/master/example-apps/search-or-create

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

Ok, thnx.
I’ve mailed with contact@zapier.com and they gave me the same answer.