Skip to content

Sample code

No need to start from scratch; we've got dozens of sample Packs for your to browse, copy, and learn from. Small Packs that demonstrate a single feature are organized by topic, while the larger and more complete Packs each have their own page.

By topic

Actions

Samples that show how to create an action formula, for use in a button or automation.

View

API setup

Samples that show how to configure a Pack to connect to various popular APIs.

View

Authentication

Samples that show how to authenticate with an API.

View

Autocomplete

Samples that show how to provide autocomplete options for a parameter.

View

Cards

Samples that show how to create cards to preview content.

View

Column formats

Samples that show how to create a column format.

View

Data types

Samples that show how to return values of various data types.

View

Dates and times

Samples that show how to work with dates and times.

View

Dynamic sync tables

Samples that show how to create a dynamic sync table.

View

Fetcher

Samples that show how to fetch data from an external source.

View

Formulas

Samples that show how to create a formula.

View

Images & files

Samples that show how to work with images and files.

View

Parameters

Samples that show how to accept parameters from the user.

View

Schemas

Samples that show how to define a schema, to represent rich objects.

View

Sync tables

Samples that show how to create a sync table.

View

Two-way sync

Samples that show how to create sync tables with editable values.

View

Full

Cats

A Pack that generates images of cats.

View

Daylight

A Pack that fetches data about the expected hours of daylight at a location.

View

Dungeons & Dragons

A Pack that uses an API to retrieve information about the game Dungeons & Dragons.

View

GitHub

A Pack that integrates with GitHub.

View

Hello World

A simple "Hello World" Pack.

View

Math

A Pack that provides various math operations.

View

Todoist

A Pack that integrates with the application Todoist.

View