Zapier CLI search operation - disable create method?

  • 6 December 2021
  • 1 reply

Userlevel 1


I want to add in our Cli integration a search field to fetch additional data, which I have added via:


search: {
display: {
label: 'Find Group',
description: 'Search for a group by the id',
operation: {
inputFields: [
key: 'id',
label: 'group ID',
type: 'integer',
required: false,
perform: (z, bundle) => {
return utils.makeApiRequest({
endpoint: `foo/groups`,
paginated: true
}, z, bundle );



but it results in a search OR create one if none are found.

Is there a way to disable this? The module has indeed a create method, but I really don’t want to use it within the search.

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

1 reply

Userlevel 7
Badge +9

First idea that springs to mind is to not implement it as a resource, but rather discrete trigger, action, search elements. You’ll get more control and less automatic magic, which is what resources are about.