The Create document action enables you to create a new Pages file directly from your automation and immediately starts a session that your bot can use to edit the document in subsequent steps.

Settings

  • In the File path field, enter the full path of the file to create a new document. For example, /Users/yourusername/Documents/Invoice.pages

    In addition, you can also use the Browse option to select a folder and specify the file name with extension to be created.

    Note: Ensure that the file name is unique and does not include any special characters that are not supported on macOS.
  • Use one of the following options to enter the password to set a password for the new document:
    • Credential: Enables you to use a value available in the Credential Vault.
    • Variable: Enables you to use a value that is stored as a credential variable.
    • Insecure string: Enables you to manually specify the values.
    Note: The password to open and edit the document will remain the same.
  • In the Create session field, use one of the following tabs for creating a session:
    • Local session: to specify a session name that can be used only in the current bot.
    • Global session: to specify a session name that can be used across multiple bots, such as parent bots, child bots, and all other child bots of the parent bot.

      Recommendation: The parent and child bots should have the same package version.

    • Variable: to specify a session variable.