--- title: "API Workflow quickstart" slug: "apiworkflow-procedure" tags: ["API Workflow"] updated: 2026-09-17T09:23:53Z published: 2026-09-17T09:23:53Z canonical: "guide.ncloud-docs.com/apiworkflow-procedure" --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # API Workflow quickstart Available in Classic and VPC This guide covers the usage scenarios for API Workflow. ## Step 1. Generating API Authentication Keys To create a workflow using NAVER Cloud Platform APIs, you must complete NCP Signature authentication. NCP Signature authentication requires the Access Key ID and Secret Key information of the API authentication key. To create an API Authentication key, follow the steps below: 1. Log in to the NAVER Cloud Platform console. 2. Go to **My Account** > **Manage Account and Security** in the upper-right corner of the console. 3. Enter your password and click the **[OK]** button. 4. Go to **Security Management** > **Access Management**. 5. Click the **[Create New Authentication Key]** button. - If you have already generated an authentication key, use it 6. Check the Access Key ID and Secret Key of the generated API authentication key. Note - API authentication keys are only generated when using NAVER Cloud Platform APIs. - For more information on how to generate API authentication keys, see [Generating API Authentication Keys](/docs/en/apiworkflow-start#API%EC%9D%B8%EC%A6%9D%ED%82%A4%EC%83%9D%EC%84%B1). - For more information on how to register an NCP Signature, see [Registering NCP Signatures](/docs/en/apiworkflow-workflow#NCPSignature%EB%93%B1%EB%A1%9D). ## Step 2. Register API You can register a new API by registering the API's name, method, URL, and request parameters. For NAVER Cloud Platform APIs, selecting NCP Signature as the authentication method automatically generates an authentication signature through the Access Key and Secret Key registered in API Workflow. To register the available region list lookup API, follow the steps below. 1. From the NAVER Cloud Platform console, click **Menu** > **All Services** > **Management & Governance** > **API Workflow** menu in order. 2. In the **API Template** menu, click **[Register API Template]**. 3. Enter ‘Check Billing Costs’ as the name of the API you want to register. 4. Select Method and enter the URL. - Method: Select ‘GET’ - URL: Enter 'https://billingapi.apigw.ntruss.com/billing/v1/cost/getDemandCostList' 5. Add 'Cost' as a Tag. 6. Select **NCP Signature** as the Authority. - If you don't have an authentication signature, the NCP Signature registration window appears. Enter the API authentication key information from Step 1. 7. In the Request field, enter the parameters for the API you want to call and click **[Add]**. | Key | Description | Type | Default value | Required | | --- | --- | --- | --- | --- | | startMonth | Lookup Start Month (yyyymm) | Query | 202204 | Enabled | | endMonth | Lookup End Month (yyyymm) | Query | 202204 | Enabled | | responseFormatType | response type ( json / xml) | Query | json | Enabled | Note Set the response type to JSON. API Workflow only supports internal navigation for responses in JSON format by default. Start/End months can be set arbitrarily. 8. Click the **[TEST]** button in the URL field and verify that the value is imported correctly. 9. Click **[Save]**. Note For more information on how to register an API, see [Registering and Managing API Templates](/docs/en/apiworflow-apitemplate). ## Step 3. Create a workflow Create a workflow using the APIs registered in API Template. You can also create a workflow that is a combination of multiple workflows. To create a workflow using a registered API, follow the steps below. 1. From the NAVER Cloud Platform console, click **Menu** > **All Services** > **Management & Governance** > **API Workflow** > **Workflow** menu in order. 2. Click the **[Create Workflow]** button. 3. Enter a name for the workflow you want to create. 4. On the Workflows tab, click **[+]** > **API** in the workflow chart. 5. Click the **[Load]** button in API Template, then select the 'Check Billing Costs' API from the list of API Templates and click the **[OK]** button. 6. Under API Entity, click **[+]** > **Set Properties**. - Properties are variables that can store specific values needed to run a Workflow. 7. On the **[Property]** tab, click **[+Add]** to create a Integer-type "totalRow" to store the number of billing receipt lists. 8. Enter the property information and click the **[Add]** button. Note Store the getDemandCostListResponse.totalRows value from the API-1 Entity's Response field in the Body in the totalRow property. For the JSON body only, you can access internal objects in the form of key1.key2. - Property: ${totalRow} - Entity: API-1, response, body - Key: getDemandCostListResponse.totalRows 9. Under the Entity you created above, click **[+]** > **if** and add an IF condition. Note This is a condition that allows you to check if the totalRow of the value received in response from an API-1 Entity is greater than 0. - Operand 1st: ${totalRow} - Comparison: >(Greater than) - Operand 2nd: Direct Input, 0 10. Click **[+]** > **SetProperties** under IF Entity. Note When SetProperties is placed under an IF, it means that sub-entities will only run when the IF condition is true. 11. On the **[Property]** tab, click **[+Add]** to add a **Integer**-type useAmount and a **String**-type requestId. - useAmount: Save Amount Billed - requestId: Save the request ID 12. Enter your property information. | Property | Entity | Key | | --- | --- | --- | | useAmount | API-1, response, body | getDemandCostListResponse.demandCostList.useAmount | | requestId | API-1, response, body | etDemandCostListResponse.requestId | 13. After clicking Finish Entity, enter the following for Body ``` { "useAmount" : ${useAmount}, "requestId": "${requestId}" } ``` Note - The header and body you set for the Finish Entity are used to store the final output value. When you call an endpoint in your workflow, it returns the header and body of the corresponding Finish Entity. - Entering the value of a property as a ${propertyKey}, replaces it with the value of the property. 14. To verify that the workflow you configured is working properly, click the **[Run Test]** button. - Make sure that Finish includes the amount billed and the requestId information. - If an error occurs, you can click on the entity to see a detailed error message. 15. Click the **[Create Workflow]** button. Note For a more information on how to create a workflow, see [Creating and Managing Workflows](/docs/en/apiworkflow-workflow). ## Step 4. Scheduling Automatically runs configured workflows according to a designated cycle. To set up a workflow to run every day at 10:30 am, follow the steps below. 1. From the NAVER Cloud Platform console, click **Menu** > **All Services** > **Management & Governance** > **API Workflow** > **Workflow** menu in order. 2. Select a workflow, then click the **[Schedule]** button. 3. When the Schedule settings window appears, set the start and end periods. 4. Enter '0 30 10 * * ?’ in the In the Cron expression input field . 5. Enter your request information. 6. Click the **[Apply]** button. Note For a more information on Schedules, see [Setting Up an Autorun Schedule](/docs/en/apiworkflow-workflow#%EC%9E%90%EB%8F%99%EC%8B%A4%ED%96%89%EC%8A%A4%EC%BC%80%EC%A4%84%EC%84%A4%EC%A0%95).