andrewlook / zapier-kisi-integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zapier-kisi-integration

This is a custom zapier action, so in-person businesses using Kisi's lock manager can create a Zapier workflow to periodically update their occupancy rate on their websites (by saving the results to their CMS).

Setup

Follow the steps in the Zapier Platform CLI Tutorial to get started and learn how to work with custom actions.

npm install -g zapier-platform-cli

zapier login

Usage

To test the integrations, create a file .env in this repository (that won't be saved to github) with the following contents:


KISI_API_KEY=...

# sample place ID for testing
KISI_PLACE_ID=... 

Note: see here for how to generate a Kisi API key.

To run the tests:

zapier test

To push any updated actions/triggers and make them available (privately to your account) in Zapier:

zapier push

About Zapier CLI

This Zapier integration project is generated by the zapier init CLI command.

These are what you normally do next:

# Install dependencies
npm install  # or you can use yarn

# Run tests
zapier test

# Register the integration on Zapier if you haven't
zapier register "App Title"

# Or you can link to an existing integration on Zapier
zapier link

# Push it to Zapier
zapier push

Find out more on the latest docs: https://github.com/zapier/zapier-platform/blob/main/packages/cli/README.md.

About


Languages

Language:JavaScript 100.0%