AtlasWork, planned itself.

    The AI-native, all-in-one work platform. Tasks, projects, CRM, contracts, and analytics in one calm workspace.

    System status
    • SSO
    • SCIM
    • Two-factor sign-in
    • Audit log

    Product

    • Overview
    • PDF tools
    • Diagram tools
    • People & HR
    • Integrations
    • Marketplace
    • Pricing

    Resources

    • Guides
    • Glossary
    • Compare
    • Docs
    • API reference
    • Support
    • Changelog
    • Status

    Company

    • About
    • Careers
    • Press
    • Contact

    Legal & trust

    • Trust center
    • Security
    • Privacy
    • Terms
    • DPA
    • GDPR
    • SLA
    • Refunds
    • Google API data
    Atlas, a product by wrxstack.com·© 2026 wrxstack·All rights reserved
    PrivacyTermsSecurityStatus

    You are in control of your cookies

    Atlas uses strictly necessary cookies to keep you signed in. With your consent, we add anonymized product analytics, conversion attribution, and remembered preferences. Change your mind any time at /privacy/cookies.

    Off until you agree · Change it any time

    • NecessaryAlways on
    • AnalyticsOpt-in
    • MarketingOpt-in
    • PreferencesOpt-in
    Still loading. Try again in a moment.Still loading. Try again in a moment.Still loading. Try again in a moment.
    Skip to documentation
    Docs
    Back to Atlas

    Start here

    • Overview

    Developer

    • REST API guide
    • Authentication
    • API reference
    • MCP (AI agents)
    • MCP tools reference
    • SDKs
    • Quick actions
    • Changelog

    Webhooks

    • Overview
    • Quickstart
    • Events
    • Payloads and headers
    • Security and signing
    • Delivery and retries
    • Managing via API

    Connect

    • Connectors
    • Integrations

    Product

    • Collaboration and chat
    • Signing in and security
    • Client portal
    • Client portal domains

    Reference

    • Glossary
    • Keyboard shortcuts
    • Module reference
    Module reference

    Module guide

    Script automations

    JavaScript that runs on the server on a schedule, when something changes, or when another system calls it.

    Open module/automations/scripts
    workflowadmin

    Overview

    A script automation is a short JavaScript script that Atlas runs on its servers for your workspace. It runs on a schedule in your time zone, each time a matching change is recorded in the workspace, or when another system calls its webhook address. The script reads what started it as trigger and the tasks in the workspace with await atlas.tasks.list(), and what it returns is kept with the run. For the common cases, a workspace rule needs no code and is the better place to start; a script is for the cases a rule cannot express.


    Highlights

    The capabilities worth knowing before you dive in.

    • Three triggers: a schedule (every weekday morning, every hour, or any cron expression) in the time zone you choose, a change in the workspace (any change to a task, project, comment or goal, or a pattern of your own), and a webhook another system calls
    • A test run with a sample payload that stands in for a webhook body or an event, followed on the page until it finishes, with its result, logs and error
    • A run history for every automation: when it ran, what started it, whether it succeeded, how long it took, and its result and logs
    • A webhook address and secret shown once, with a way to generate a new secret that stops the old one at once
    • A sandbox for trying JavaScript or Python in your browser, and Save as automation to carry working JavaScript into a new automation
    • Turn an automation off to stop it running on its trigger, and on again, without losing its script or its history

    Important to know

    Limits, permissions, and sharp edges to keep in mind.

    • Only a workspace owner or admin can create, change, run or turn off a script automation, because it runs code on the server. Anybody else sees only the automations they own, read only.
    • Server automations run JavaScript. Python runs only in the browser sandbox; an older automation written in Python cannot run on the server and says so.
    • A webhook secret is shown once, when it is made. Atlas keeps it where no screen or API response returns it again. If you lose it, generate a new one; the old one stops working at once.
    • Send the secret in the X-Atlas-Webhook-Secret header. The secret query parameter still works for systems that cannot set a header, but an address is often written to logs.
    • A script stops after its time limit, 30 seconds by default, and cannot reach the network or the file system. It reads tasks through atlas.tasks.list() and nothing else in the workspace.
    • An automation that fails several times in a row is turned off, and its owner is told why.

    How to use it

    The primary workflow, start to finish.

    1. 1Open Automations, then Script automations, and choose New automation.
    2. 2Name it and choose when it runs: on a schedule, when something changes in the workspace, or when another system calls it.
    3. 3Write the script. Read what started the run from trigger and the tasks from await atlas.tasks.list(), and return what you want to see in the run.
    4. 4Choose Create automation. For a webhook automation, copy the address and the secret now; the secret is not shown again.
    5. 5On the automation page, choose Run test under Test run with a sample payload, and read the result when the run finishes.
    6. 6Choose Turn off to stop it running on its trigger. Its script and run history are kept, and Turn on starts it again.

    FAQ

    Should I write a script or a workspace rule?
    Start with a workspace rule in Settings, Automations. Rules need no code and cover setting a field, applying a label, notifying a person and calling a webhook when something changes. Write a script when you need logic a rule cannot express.
    What time zone does a schedule use?
    The zone shown under the schedule, which is your own when you create the automation. The schedule keeps its local time across daylight-saving changes. A time that does not exist on the day the clocks go forward runs just after the change, and a time that happens twice when they go back runs once.
    I lost the webhook secret. Can I see it again?
    No. Open the automation and choose Generate a new secret, then give the new secret to the system that calls it. The old secret stops working as soon as the new one is made.
    Can I run a Python script on a schedule?
    No. Python runs only in the browser sandbox. Rewrite the script in JavaScript and save it as an automation from the sandbox.

    Automate this module

    Everything on this screen is scriptable. Drive it from the REST API, or let an AI agent run it through the MCP server.
    All modules
    Was this page helpful?
    About this page

    On this page

    • Overview
    • Highlights
    • Important to know
    • How to use it
    • FAQ