zapier-platform | The SDK for you to build an integration on Zapier

 by   zapier JavaScript Version: zapier-platform-schema@15.0.0 License: Non-SPDX

kandi X-RAY | zapier-platform Summary

kandi X-RAY | zapier-platform Summary

zapier-platform is a JavaScript library. zapier-platform has no vulnerabilities and it has low support. However zapier-platform has 8 bugs and it has a Non-SPDX License. You can install using 'npm i zapier-platform-legacy-scripting-runner' or download it from GitHub, npm.

This is the main monorepo for all public code that powers the Zapier Platform Experience.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              zapier-platform has a low active ecosystem.
              It has 252 star(s) with 171 fork(s). There are 113 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 53 open issues and 87 have been closed. On average issues are closed in 569 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of zapier-platform is zapier-platform-schema@15.0.0

            kandi-Quality Quality

              zapier-platform has 8 bugs (0 blocker, 0 critical, 0 major, 8 minor) and 6 code smells.

            kandi-Security Security

              zapier-platform has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              zapier-platform code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              zapier-platform has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              zapier-platform releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.
              zapier-platform saves you 5836 person hours of effort in developing the same functionality from scratch.
              It has 12470 lines of code, 0 functions and 509 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed zapier-platform and discovered the below as its top functions. This is intended to give you an instant insight into zapier-platform implemented functionality, and help decide if they suit your requirements.
            • Sets the matrix
            • Loops over a hash .
            • Factory to create a factory function .
            • Fetches a range from a and b
            • Private function used to update the SSE root
            • Expand a glob pattern into a glob pattern .
            • Writes a T509 certificate to a BN .
            • Read Block mapping
            • Compose a block transition .
            • Sort files in list
            Get all kandi verified functions for this library.

            zapier-platform Key Features

            No Key Features are available at this moment for zapier-platform.

            zapier-platform Examples and Code Snippets

            No Code Snippets are available at this moment for zapier-platform.

            Community Discussions

            QUESTION

            Zapier StoreClient undefined
            Asked 2019-Aug-22 at 02:23

            I'm trying to store state between calls similar to the documentation here: https://zapier.com/apps/code/help#code-examples

            However, I try to run the code from a Zap, I get:

            StoreClient is not defined

            The documentation states that I shouldn't have to require anything to use StoreClient: "There is no need to require it - it comes pre-imported in your Code environment."

            I'm on the latest version of zapier-platform-core (8.3.0). I'm using the exact code from the example linked above.

            ...

            ANSWER

            Answered 2019-Aug-22 at 02:23

            David here, from the Zapier Platform team. Great question!

            This is a little bit unclear based on the docs - StoreClient is only available in the Code app (aka Code by Zapier). If you're using zapier-platform-core, you're creating a cli app, which is a vanilla node.js environment. If you want to interact with Storage by Zapier from within a cli app, you can use the docs on the site: https://store.zapier.com. Namely:

            Source https://stackoverflow.com/questions/57575760

            QUESTION

            Got a non-object result, expected an object from create Zapier?
            Asked 2019-Aug-22 at 02:18

            I am getting the buffer by request module of NPM & from that buffer i am parsing the pdf with another module pdf-parse. While executing the zap i am getting the error as:

            Unhandled error: CheckError: Invalid API Response: - Got a non-object result, expected an object from create ()

            Below is my code for action

            ...

            ANSWER

            Answered 2019-Aug-22 at 02:18

            David here, from the Zapier Platform team.

            Your perform function needs to return a JS object (something wrapped in {}). To make the error go away, ensure your promise returns something.

            The easiest way is the following:

            Source https://stackoverflow.com/questions/57544071

            QUESTION

            Zapier CLI, using choices on inputFields does not show it in the form when creating new Zap
            Asked 2019-Jul-23 at 12:28

            I am following the docs from zapier-platform-schema to set choices in the hook trigger inputFields, but they are not shown in the form when creating new Zap.

            I do the following:

            ...

            ANSWER

            Answered 2019-Jul-23 at 12:28

            My problem was solved, Zapier Support helped me. The code is correct, I just was testing it in a wrong way. I was looking for the select drop-down at an early stage of Zap creating page, after I selected the Trigger. Where the drop-down appears after I connect an account to the Zap.

            Source https://stackoverflow.com/questions/57110531

            QUESTION

            Cant find information about acceptable response from my site to zapier app on test step (It's "Action" on my site )
            Asked 2019-Jan-11 at 19:36

            I can't find information about acceptable response content or code status from my site to zapier app on test step.

            I have my site on Laravel and Zapier app for this site. In my Zapier app I have an action: "Create New Project". I made my "create" according to the example. Everything works except the testing step. I tested with the following zap:

            • Trello -> "New card created" trigger. Test successful.
            • My app -> "Create new project". Test fails with We had trouble sending your test through. Could not handle special, non-standard characters. Please contact support.

            Strangely, the project was created successfully. Therefore, I think the problem lies in the response from my site to zapier:

            ...

            ANSWER

            Answered 2019-Jan-11 at 19:36

            David here, from the Zapier Platform team.

            I already answered your support ticket, but I figured I'd reply here in case anyone else has the same issue.

            The root problem is made clear when you run zapier logs on the cli:

            Source https://stackoverflow.com/questions/54147635

            QUESTION

            Zapier Static Dropdown
            Asked 2018-Aug-22 at 22:34

            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 don't use the previous scripting build UI.

            Thank you!

            ...

            ANSWER

            Answered 2018-Aug-22 at 22:34

            David here, from the Zapier Platform team.

            If your dropdown is totally static, you can use the choices property outlined here. There's a couple of different options (depending if order matters or you need labels) but the end goal is that you'll have a choices key with an array or object attached to it.

            For example:

            Source https://stackoverflow.com/questions/51974440

            QUESTION

            Zapier validate method returns error
            Asked 2018-Jul-18 at 19:50

            . This is the error I get when I run "zapier validate" command. My package.json file has this code :

            ...

            ANSWER

            Answered 2018-Jul-18 at 19:50

            David here, from the Zapier Platform team.

            That error comes from here and pops up when we can't find zapier-platform-core in node_modules.

            It seems like it should be there given what you posted. with "zapier-platform-core": "7.0.0" in your package.json, run rm -rf node_modules && npm i to make sure everything is fresh.

            If that doesn't work, please open an issue at https://github.com/zapier/zapier-platform-cli/issues/new.

            Source https://stackoverflow.com/questions/51403507

            QUESTION

            How to use the post_poll method in Zapier CLI
            Asked 2018-Jul-18 at 19:31

            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, ({"totalevents":83,"events":[{"eventid":10266033,"c) - Got a result missing the "id" property (83)

            Tried following this but it is not clear to me, I'm very new to Zapier-CLI

            Update - adding code

            This is the function that returns the data:

            ...

            ANSWER

            Answered 2018-Jul-18 at 19:31

            Nice, so you're almost there! CLI apps don't have pre_ and post_ poll methods. Instead, you put any manipulation after the response comes in.

            Source https://stackoverflow.com/questions/47837434

            QUESTION

            Zapier Cli - Unhandled error
            Asked 2018-May-24 at 20:03

            I’m creating an app that (for now) takes a file as input and returns its hash (sha256).
            It works fine as long as the user use a file as input, but if he puts something else (a string for example), the application silently fails (there is a stack trace in the app’s logs but Zapier displays nothing particular) and returns a wrong hash.

            I do no have the impression that the error is handleable by my code and the stack is pretty obfuscated:

            ...

            ANSWER

            Answered 2018-May-24 at 20:03

            David here, from the Zapier Platform team. There's no magic or tricks going on, but it looks like you're making life a little bit harder for yourself. Much of the zapier code doesn't support that event pattern (.on('x', function(){...)). Instead, everything uses promises already. Unhandled rejection refers to a rejected promise that you're not handling with a catch clause. We also provide a z.request function which is going to flow a little better than using the request package itself (though this is allowed if you want to!). Check out the doc section about making HTTP requests. We've also got a z.hash(algo, string) method. and then update your code to be something like the following:

            Source https://stackoverflow.com/questions/50505201

            QUESTION

            Zapier CLI - In resources how can I mention UPDATE method
            Asked 2018-Mar-10 at 07:22

            As mentioned in resource schema here, I can only mention creates. My question is how to mention an update which in turn will call PUT method on my REST API. I searched the documentation but didn't find any such thing.

            ...

            ANSWER

            Answered 2018-Mar-10 at 07:22

            David here, from the Zapier Platform team.

            We don't have anything specific to an update action, but since you're in control of what sort of request(s) you make, it's pretty easy to build one.

            Separate from the resource, you can write an Update X action (called a "create" in the docs, which I see is a little confusing) which can make whatever request you want.

            We've got docs about updates here.

            ​Let me know if you've got any other questions!

            Source https://stackoverflow.com/questions/49169044

            QUESTION

            Zapier timeout error on test
            Asked 2018-Jan-26 at 07:51

            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:

            ...

            ANSWER

            Answered 2018-Jan-26 at 07:51

            I did suffer from this error a lot. The error is due the test framework which normally doesn't wait beyond 2 seconds. Whatever you do in the tests, timeout occurs if not handled using something like the following. In your app's package.json, please add a timeout to mocha runtime (15 seconds) in this example. Please feel free to set a higher timeout while you are testing.

            "scripts": { "test": "node node_modules/mocha/bin/mocha --recursive --timeout 15000" },

            As other respondents said, add z.console.log(msg) to your code a lot initially to see what is happening with your requests.

            Source https://stackoverflow.com/questions/47841095

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install zapier-platform

            You can install using 'npm i zapier-platform-legacy-scripting-runner' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/zapier/zapier-platform.git

          • CLI

            gh repo clone zapier/zapier-platform

          • sshUrl

            git@github.com:zapier/zapier-platform.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular JavaScript Libraries

            freeCodeCamp

            by freeCodeCamp

            vue

            by vuejs

            react

            by facebook

            bootstrap

            by twbs

            Try Top Libraries by zapier

            django-drip

            by zapierPython

            django-rest-hooks

            by zapierPython

            resthooks

            by zapierHTML

            django-knowledge

            by zapierPython

            email-reply-parser

            by zapierPython