Skip to main content

Getting Started

Cloudomation is an automation-as-code platform. Automation is done via Python scripts that define the automation logic. We call these scripts flow scripts. Flow scripts contain a Python handler function.

note

To complete the quick start example, you need to have an active Cloudomation account and be signed in to try it out. Get in touch at info@cloudomation.com to request a trial account.

To quickly get started:

  1. Create a new flow by pressing the "+ Create" button and selecting "Flow"

    The buttons to create a flow

  2. The flow object will be opened automatically and will already contain a handler function:

    def handler(system, this):
    # TODO: write your automation
    return this.success('all done')
  3. Replace the comment #TODO: write your automation with a statement to print a hello world log message:

    def handler(system, this):
    this.log('Hello World!')
    return this.success('all done')
  4. Click on "Run".

  5. You will be redirected to the Execution View. It will also show the status of your newly created execution and will update with any change.

  6. In the "Output" tab you'll see the log message

    logging:
    - 2021-08-01 13:44:21 :
    - "Hello World!"