Questions tagged [zapier-cli]

112 questions
1
vote
2 answers

Zapier - add data to JSON response (App development)

We are creating a Zapier app to expose our APIs to the public, so anyone can use it. The main endpoint that people are using returns a very large and complex JSON object. Zapier, it looks like, has a really difficult time parsing nested complex…
Rob
  • 2,363
  • 7
  • 36
  • 54
1
vote
1 answer

Bundle context and variable propagation

I'm looking for a way of propagating information between the authentication script I've setup in my Zapier app and the different actions/triggers I have. For now it would be a URL defined in a custom zapier form when authenticating a user that I…
Vlad
  • 287
  • 3
  • 13
1
vote
1 answer

Zapier Static Dropdown

I'd like to create a static combobox thanks to a custom hidden trigger. I've seen couple examples of Zapier triggers in their repository (such as https://github.com/zapier/zapier-platform-example-app-trigger) but not static. I'm using Zapier CLI and…
Vlad
  • 287
  • 3
  • 13
1
vote
1 answer

Unable to set dynamic dropdown value in Zapier CLI trigger

I have my app in Zapier CLI. I have created a trigger to set dropdown values for a particular action step during zap creation. The data comes like this : { "data": { "account_status": { "field_name": "account_status", …
Mainak
  • 469
  • 3
  • 9
  • 33
1
vote
1 answer

Zapier Cli - How to set value of computed inputField?

I have a resource in my zapier cli app. In this resource's create specification, there are some inputFields, one of which is account_key (computed:true), the value of which I obtain during previous API call. My question is how can I set the…
Haris ur Rehman
  • 2,593
  • 30
  • 41
1
vote
1 answer

Connect multiple accounts on Zapier CLI app

I'd like to connect two different accounts with one Zapier app. I've seen other apps support this but there doesn't seem to be any mention of this in the documentation or be any example apps that do this. Looking at the auth documentation, there…
dan-klasson
  • 13,734
  • 14
  • 63
  • 101
1
vote
1 answer

Zapier trigger that returns file: what is the format of the z.dehydrateFile call?

I am writing a Zapier trigger that will return a file. I understand that my trigger endpoint does not return the contents of the file, but rather a pointer to it. All the example documentation shows the JavaScript example: var Zap = { …
Krystian Cybulski
  • 10,789
  • 12
  • 67
  • 98
1
vote
0 answers

Unsuccessful validation of login credentials in zapier

This is my authentication.js file. upon entering login credentials , while setting up an account in action block, it accepts any input string and password hence the validation fails. var request = require('request'); var https =…
sheel
  • 467
  • 8
  • 23
1
vote
2 answers

Zapier timeout error on test

I get a timeout error in most but not all the times i run zapier test whether i add --debug or not, here's my code: require('should'); const zapier = require('zapier-platform-core'); // Use this to make test calls into your app: const App =…
Esteban Rincon
  • 2,040
  • 3
  • 27
  • 44
1
vote
1 answer

How to use the post_poll method in Zapier CLI

According to the docs, I should use a post_poll function to add the missing id field in the response. How do I add the post_poll function ? Here's my error: Results must be an array, got: object, …
Esteban Rincon
  • 2,040
  • 3
  • 27
  • 44
1
vote
1 answer

Either / Or "Optional" Required Fields in Zapier

I am making an Action in Zapier for my App. I have two fields where only one needs to be filled. For eg: The user can either enter the email or phoneNumber but not both. So I cant use the 'Required' attribute because it will ask user to enter…
hybrid
  • 1,255
  • 2
  • 17
  • 42
1
vote
1 answer

Filter response for trigger in Zapier CLI

I'm using Zapier Platform CLI and I'm having issues with firing the correct triggers. I'm working with a legacy codebase. When you create a webhook, all events go to the URL you've provided. You can't subscribe to just one event. With this in…
Kieran E
  • 3,616
  • 2
  • 18
  • 41
0
votes
1 answer

Zapier "You must pass in a function/array/object. We got undefined instead." in Custom Auth Test

Creating a zapier integration with custom authentication. To test my authentication I make a GET request to an api endpoint. If the request is successful the inputed details are saved throught zapiers own system if the API request is unsuccessful…
0
votes
0 answers

How can I access all my zaps or a specific zap using Zapier's API?

I searched the documents but couldn't go further than the webhooks documents. What I am looking for is an api where I can see all my zaps or the detail of a zap. Is there such access on Zapier? As far as I understand I can't see this data with…
MFener
  • 1
  • 1
0
votes
0 answers

Zapier platform cli: ENOENT: no such file or directory error

I am using Zapier platform cli to write a customised 'Create' aka Action. When I try to provide the path for big query service account key, I get the following error - ENOENT: no such file or directory, open '/var/task/creates/key.json' const…