-
/triggers
- Triggers in Zapier -
/searches
- Searches in ZapiernumberVerifier.js
numberVerifier-outputFields.json5
- Descriptions of the result items we get from the searchnumberVerifier-sample.json5
- An example response to return when Zapier can't access the CM API
-
/creates
- Actions in ZapiertextMessage.js
voiceMessage.js
-
/model
- ClassesTextMessage.js
Voice.js
- Voice object with language, gender and numberVoiceMessage.js
ZapierRequest.js
- Class used for HTTP Requests, with url, HTTP method, body, HTTP headers
-
/auth
- AuthenticationaddAuthToHeaders.js
- Adds a header with a product token to every HTTP requestauthentication.js
-
/test
- Unit testsindex.js
-
.env
- Variables used for testing -
index.js
- Collection of triggers, searches, actions and information like version numbers -
ErrorHandlerCM.js
- File that handles errors returned by the CM API
npm install -g zapier-platform-cli
zapier login
npm install
from the main directory of the app
Description | Command |
---|---|
Run tests | zapier test |
Publishing local code to Zapier | zapier push |
Delete version | zapier delete version [version] |
Commands have to be run from the main directory of the app.
For more commands, visit the Zapier documentation