Creating Job Workflows with AI

Overview

This feature allows you to easily create job workflows using AI by simply selecting a template and configuring the required items step by step.

For example, selecting the "EC2 Instance Stop/Start" template will automatically build a job workflow containing the "EC2: Stop instance" action and the "EC2: Start instance" action. When creating a job workflow, you only need to enter the minimum required settings (group, AWS account, region, target resource, execution schedule), and AI will automatically configure all other settings with optimal values. You can modify the settings after the job workflow has been created.

Available templates

Usage

Prerequisites

* This feature requires the AI setting to be "Enabled" in "Feature Settings".

Accessing the AI Workflow Creation Page

You can access the AI workflow creation page by following these steps:

en_00b_action_guide.png

Basic Usage

1. Select a Template

When you access the AI workflow creation page, the template selection screen will be displayed. Select the template that matches the job workflow you want to create from the dropdown and click the "Confirm" button.

en_01_template_select.png

You can type in the template dropdown to filter and search for templates.

Clicking the dropdown will display a list of available templates.

en_02_dropdown.png

2. Select Group, AWS Account, and Region

After confirming the template, the group selection screen will be displayed. At the same time, the "Preview" panel will open on the right side of the screen, allowing you to check the settings in real time.

en_03_group.png

After selecting a group and clicking "Confirm", the AWS account selection screen will be displayed. If only one AWS account is associated with the group, it will be automatically selected. Similarly, select a region and click "Confirm".

The "Preview" panel has three tabs: "Actions", "Triggers", and "Post-process", where you can check each setting. When all the red "Not set" indicators are gone, the workflow is ready to be created.

3. Specify Target Resources

After confirming the region, a screen will be displayed where you can choose how to specify the target AWS resources. Choose either "Specify by ID" or "Specify by tag" and click "Confirm".

When specifying by ID, select the AWS resource ID from the dropdown.

When specifying by tag, enter the tag key and value. You can click the "Check resources matching the tag" button to verify in advance whether there are resources matching the entered tag.

en_07_tag.png

Depending on the template, additional questions (such as entering an AMI name or selecting an instance type) may appear after specifying the resource. Follow the on-screen instructions to configure each setting.

4. Set the Execution Schedule

After specifying the target resources, the execution schedule settings screen will be displayed.

en_08_trigger.png

Configure the following items:

  • Date/Day of Week: Select "Weekly" or "Monthly" and specify the days of the week or dates for execution.
  • Execution Time: Set the time to execute the action.
  • Holiday Skip: Check "Skip execution on Japanese national holidays" to skip execution on holidays.

Click "Confirm" when the settings are complete.

Some templates may require setting the schedule multiple times. For example, the "EC2 Instance Type Change" template requires setting execution times for both the scale-down and scale-up operations.

5. Configure Post-Processes

After confirming the execution schedule, the post-process settings screen will be displayed. Select post-processes to execute on action success and failure respectively.

en_09_postprocess.png

Post-processes are optional. You can click "Confirm" without configuring them. You can also select "+ Create and add email post-process" to create a new email post-process from this screen.

6. AI Generates the Workflow

After confirming post-processes, AI will generate the job workflow based on your input. A message "AI is generating the workflow..." will be displayed during generation. Please wait a moment. It typically completes in about 10 seconds.

7. Create the Workflow

When AI generation is complete, a message "If the content on the right looks correct, press the Create Workflow button." will be displayed, and the "Create Workflows" button at the top right of the screen will become enabled. Check the workflow name and job settings in the "Preview" panel, and click the "Create Workflows" button if everything looks correct.

en_12_ai_complete.png

When the workflow creation is complete, the name of the created job workflow and a link to the workflow list page will be displayed. Click the link to view the created workflow.

en_13_creation_success.png

Click the "Continue Creating" link to start creating a new workflow from the template selection.

Redoing Operations

If you want to modify your input during configuration, the following buttons are available:

  • "Go Back" button: Returns to the previous configuration step. Going back will reset all subsequent answers.
  • "Start Over" button: Starts over from the template selection.

Notes

Input is Not Saved on the Server

The input entered during job workflow creation is not saved on the server. If you navigate away from the page or close the browser tab, all input up to that point will be lost. Please note that you cannot resume input from where you left off.

About AI Auto-Configured Items

Items automatically configured by AI (such as job names and workflow names) can be modified from the edit screen after the job workflow has been created.

About Group Action Restrictions

Some groups may have templates containing actions that are unavailable due to permission settings or restricted action configurations. In such cases, the affected groups will be displayed as "Unavailable" in the selection list and cannot be selected.

Hints

Using the Preview Panel

The "Preview" panel on the right side of the screen reflects settings in real time. You can switch between the "Actions", "Triggers", and "Post-process" tabs to check each setting. If red "Not set" indicators remain, it means there are items that have not yet been configured.

Creating Workflows Continuously

Click the "Continue Creating" link displayed after workflow creation to start creating a new workflow from the template selection. This is convenient when creating multiple workflows in succession.

When an Error Occurs

If an error occurs during AI generation or workflow creation, a "Retry" button will be displayed. Click the button to retry the process.

If the error persists, please contact support.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request