Scripts

Scripts (also referred to as tasks) are the starting points of any custom integrations. Each task is built using Liquid code. This is the same Liquid syntax that you know from Shopify, however, it has a few extensions. All available extensions are detailed in this documentation under the Liquid section.

There are six different types of scripts:

  • Input: This script accepts a file uploaded by the user as an input. The file is uploaded through the user-facing dashboard. It is useful when you need to import data in bulk or modify Shopify objects based on a source file..

  • HTTP: This script will be triggered anytime the autogenerated endpoint is called.

  • Scheduled: This script runs on a schedule. It can also be triggered manually by the user.

  • Event: This script triggers anytime one of the Shopify events is detected, such as a new order or an updated customer.

  • Shipping Rate: This task returns custom shipping rates to the checkout.

  • Email: This task triggers when an email is received in your DataJet inbox (your-store@task.datajet-app.com)

Last updated