HTTP Trigger

The HTTP Trigger connector lets you create a webhook URL to perform hypertext transfer protocol (HTTP) GET/POST requests. So, when a user makes an HTTP GET/POST request to the configured webhook URL, the associated action is performed.

Set up the HTTP Trigger

Perform the following steps to configure the HTTP Trigger Connector:

  1. In the Configure Trigger section, click on HTTP.
    1.Select_HTTP_Trigger_Connector.png
  2. Select HTTP Request Trigger. This trigger will be activated whenever you make an HTTP GET/POST request to a specific webhook URL.
    2.Select_HTTP_Request_Trigger.png
  3. Click on Method, i.e., GET/POST, and click on Proceed.
    3.Select_Method_GetPost.png
  4. You will find the applicable Input “method” and an input “URL.” This URL will be the webhook URL that you can use to see the rule working. Click on Test Trigger.
    4.Click_Test_Trigger.png

    You should be able to see the output as follows:

    5.Test_Trigger_Output.png

    Note: The output doesn’t appear because we haven’t tested the Trigger URL yet.

    Next, to try if the trigger is working real-time, perform the following steps:

  1. Copy the Input URL that you see above and paste it on a new browser tab.
  2. Pass a query parameter to the Input URL, for example, https://trigger_input_URL?name="scott" and hit enter. You should see an output similar to the following:
    {"result":"The rule is currently being tested or not activated","trigger_id":"1111ab1c1ab11111ca11b111111ca1bc"}
  3. Return to your Test Trigger setup page and click on Test Trigger again. In the output, you will see your query parameter as follows:
    query: ,name:"scott"
    Here’s what you see:
  4. 6.Click_Save&Exit.png

  5. The Filters section (see screenshot in the above step) lets you filter the data displayed in the output.
    For example, if you want your trigger to proceed further with the configured actions, under the condition that the name parameter (the one you passed in the above step) is “scott” in the output result, click on + Add Filter and pass the following filter condition:
    query.name | Matches (Text) | scott
  6. Lastly, you can either pass a new query parameter and Retest the trigger or hit Save and Continue (see screenshot in step 3).

This completes your step of configuring your HTTP trigger.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^