Overview

Kiwi Automation is a serverless development platform for automating and integrating with eCommerce stores. It can connect eCommerce stores, apps, and data by writing serverless code.

How it works

  • Developers write Javascript code (Node 12.0) and set up triggers which are conditions when the code should be executed

  • When an event occurs (for example, when a product is updated on Shopify), we would handle executing the script subscribed to the event

  • We handle all the infrastructure, like uptime, monitoring, scaling, retries, etc.

Core concepts

App Queue

Every event Kiwi receives is put on to a Queue for the store. Because there is a limit on how many concurrent Task can run at the same time, a queue is needed to make sure we don't lose any important messages and all the events will be processed eventually.

Task

Task is javascript code that is executed when a trigger happens. In developer terms, you can think of it as a "function" or a "script". Kiwi continuously polls from the App queue and based on the order of the event, execute the corresponding Task.

Task Triggers

Each task can be set up with one or more triggers. Trigger can be nearly anything you want. Webhooks from Shopify are supported, scheduled events, or a webhook endpoint you can use directly.