Skip to main content

Saved Script

A script kept in the Scripts catalog, which Script steps reference live rather than copy.

Name​

How the script is listed and picked. Names are unique within the workspace; the form refuses a name another script already has.

Required

Description​

One line shown beside the name in the Scripts table and in a step's picker, where it is what tells two similarly named scripts apart.

Language​

The language the script is written in. Choosing one reveals its Script field.

Required

Where the script is also kept outside Esca Automations: a path on a branch of a git repository, or a file in a gist. Once saved, the form offers Pull, Push and Check remote. Leave it empty for a script kept here alone.

  • Gist / Snippet: A file in a GitHub gist.
  • Repository file: A file at a path on a branch of a git repository.

Kept in › Gist / Snippet​

A file in a GitHub gist.

Connection​

A connection whose credential can reach gists: a GitHub connection that authenticates with a personal access token. Pushing needs the token allowed to write gists; reading needs nothing more.

Required

Gist / Snippet ID​

The gist's id. Leave it empty and the first Push creates the gist and fills this in.

File Name​

The file within the gist, such as slugify.js.

Required

Public​

Whether a gist created by the first push is public. An existing gist keeps its visibility.

Kept in › Repository file​

A file at a path on a branch of a git repository.

Connection​

A connection to a service that hosts git repositories: a GitHub connection, with either kind of authentication.

Required

Repository​

The repository, in the host's own naming: owner/name on GitHub.

Required

Branch​

The branch to read from and write to. Leave it empty for the repository's default branch.

Path​

The file's path within the repository, such as scripts/slugify.js.

Required

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.