Trigger
    • PDF

    Trigger

    • PDF

    Article Summary

    Available in Classic

    In the Trigger menu, you can create and manage triggers provided by Cloud Functions. You can also run the created triggers and monitor the result with graphs and tables.
    The following describes how to use the Trigger screen, how to view trigger information, and how to create, edit, or delete triggers, as well as how to monitor the execution result for each trigger. For more information on how to execute created triggers, see Running action or trigger.

    Trigger screen

    The basics of using Trigger are as follows:

    cloudfunctions-trigger-vpc_01_ko

    FieldDescription
    ① Menu nameName of the menu currently being viewed, number of triggers created
    ② Basic featuresCreating triggers, viewing Cloud Functions features and pricing plans, refreshing Trigger screen
    ③ Trigger listList of created triggers
    ④ View and set trigger informationViewing details of the selected trigger and additional setup

    View trigger list

    Follow these steps to view your trigger list.

    1. From the Region menu on the NAVER Cloud Platform console, click and select the region you're using.
    2. From the Platform menu, click and select Classic.
    3. Click Services > Compute > Cloud Functions in order.
    4. Click the Trigger menu.
    5. Check the trigger list created in Triggers.
      • cloudfunctions-ico_02: triggers connected with actions
      • cloudfunctions-ico_03: triggers not connected with actions
    6. Click the trigger to view the desired information’s details.
    7. Click the Basic information tab menu to view necessary information.
      cloudfunctions-trigger-vpc_02_ko
      • Basic trigger information
        • Name: name of trigger
        • Description: additional information on trigger
        • Type: type of trigger
        • Run options: additional settings related to running the trigger
      • External connection address: view information of the URL that allows the trigger to be called remotely
        • URL: information for the created external connection URL
        • Deployment stage: information on the deployed stage
        • Call method: request format supported for the trigger type (GET, POST, PUT, DELETE, and so on)
        • [Copy] button: click to copy the URL and use it
      • List of connected actions
        • [Connect action] button: for more information, see Action
        • [Disconnect action] button: for more information, see Action
        • Action name: name of the connected action
        • Action type: runtime information of the connected action
        • Action description: additional information on the action connected to the trigger
        • [Move] button: click to go to the basic information page of the connected action
    Note

    You can search for a desired trigger by entering search keywords in Triggers and then clicking the magnifying glass icon.
    cloudfunctions-trigger-vpc_03_ko

    Trigger monitoring

    Follow these steps to monitor results of triggers run during a viewing period and their details.

    1. From the Region menu on the NAVER Cloud Platform console, click and select the region you're using.
    2. From the Platform menu, click and select Classic.
    3. Click Services > Compute > Cloud Functions in order.
    4. Click the Trigger menu.
    5. Click the trigger you want to monitor in Triggers.
    6. Click the Monitoring tab menu.
    7. Click and select the period and base time you want to view.
      • [Refresh] button: click to update and see the latest search result
    8. Check the search results.
      • Graph
        • Status: ratio of succeeded and failed actions during the viewing period
        • Trigger call: number of trigger calls by time during the viewing period
      • Table
        • ID: unique ID for the trigger execution result
        • Status: whether the trigger was successfully executed or not
        • Start time: time when the trigger execution started (ms)
        • View more: click the [View] button to see details of the execution result
    Note
    • Enter search keywords with the execution result as the filter to search for the relevant content.
      cloudfunctions-trigger-vpc_04_ko
    • You can monitor the execution results of all the actions and triggers run during the viewing period in Dashboard. For more information on how to use Dashboard, see Dashboard.

    Create triggers

    Follow these steps to create a trigger.

    1. Access NAVER Cloud Platform console.
    2. From the Region menu, click and select the region you're using.
    3. From the Platform menu, click and select Classic.
    4. Click Services > Compute > Cloud Functions in order.
    5. Click the Trigger menu.
    6. Click the [Create trigger] button.
    7. Click and select a trigger to create from Select trigger type's Trigger type.
    8. Set up the content of the trigger to create.
    9. Click the [Save and connect action] button.
    10. In the Packages/Actions menu of Connect action, click the action to be connected.
    11. Click the [Save] button.
    Note

    You can also create a trigger without setting the action to be connected in Step 10.

    Basic trigger information

    Set up basic information required for creating a trigger. Descriptions of each item in Basic trigger information are as follows:

    • Name: enter the trigger's name by combining upper and lowercase letters, numbers, and special characters "_" and "-". However, a hyphen (-) can't be used as the first letter. The name must be unique and not a duplicate of another resource (package, action, trigger) name

    • Description: enter the description of the trigger to create

    • Default parameter: you can enter a default parameter in JSON format which can be applied to actions by default rather than delivering a parameter every time an action is run. The default parameters of an action have a lower priority compared to trigger parameters and runtime parameters delivered at a trigger execution time.

    The following is an example code of default parameters in JSON format.

    {
      "name": "Ncloud",
      "place": "Cloud Functions"
    }
    
    Caution

    Note that you cannot edit the trigger's name and type later.

    Create external connection address

    Set up an external connection address using NAVER Cloud Platform's API Gateway to enable remote execution of triggers. For more information on setup, see Create external connection address in Running action or trigger.

    Set information for each trigger type to be created

    Depending on the type of trigger to be created, set up additional information necessary for trigger execution. For more information on additional information setup, see the guide for each specific trigger type.

    Connection information for each trigger type to be created

    Depending on the type of trigger to be created, set up connection information necessary for trigger execution. For more information on connection information setup, see the guide for each specific trigger type.

    Edit trigger

    You can edit everything except the trigger's name and type. Follow these steps to edit them:

    1. From the Region menu on the NAVER Cloud Platform console, click and select the region you're using.
    2. From the Platform menu, click and select Classic.
    3. Click Services > Compute > Cloud Functions in order.
    4. Click the Trigger menu.
    5. Click the trigger you want to edit in Triggers.
    6. Click the Basic information tab menu and then click the [Edit] button.
    7. Edit the necessary information.
    8. Click the [Save] button.

    Delete trigger

    You can delete a trigger. If you delete the trigger, the resource and stage information of the external connection address connected to the trigger are deleted as well.
    Please note that the deleted trigger cannot be restored. Follow these steps to delete a trigger.

    1. From the Region menu on the NAVER Cloud Platform console, click and select the region you're using.
    2. From the Platform menu, click and select Classic.
    3. Click Services > Compute > Cloud Functions in order.
    4. Click the Trigger menu.
    5. Click the trigger you want to delete in Triggers.
    6. Click the Basic information tab menu and then click the [Delete] button.
    7. Click the [Delete] button.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.