Table of Contents

Paragon Automation Integration

Alexander Gao Updated by Alexander Gao

Paragon Trigger with Webhook block

Prepare Landbot
  1. Firstly, we have to make a little flow for collect information, like name, email, age, etc.

The information that we collect, will be stored in variables, that we will send to Paragon. As in the example below, we are storing the name input in the variable @name, that we will use later

  1. Then let's set a Webhook block.

Create Paragon workflow
  1. After set a Webhook block, let's open Paragon, and log in:

  1. Then click on the button of New Workflow at upper right corner:

  1. Let's give it a description, or a name:

  1. Click on the button of Create:

  1. It shows this page:

  1. Then below Select a trigger we select API Endpoint:
  1. After that, below How do you want to define test data for this step we choose Detect parameters by sending a test request:
  1. Now copy the URL:
Prepare Landbot request to Paragon
  1. During the time it waits for the datas, let's open Landbot:

  1. Then paste the URL to Webhooks block:

Please pay attention to test-endpoint behind of URL, if you just want to test the trigger you may keep it. But if you want to test the whole workflow after add more actions, it's better to delete it, so you can get the right response.
  1. Now we are going to set JSON body with the variables we want to send to Paragon.

Here you have an example of the JSON body that we will use with Landbot variables:

{
"name":"@name",
"email":"@email",
"age":"@age"
}

  1. Then scroll down and go to Test Your Request section, where as you can see we are setting values to the Landbot variables that we are using in the JSON body:
  1. And click on Test the request button:
  1. If you scroll down, you will see the response from Paragon:

  1. As long as the status code is 200, means our request is successfully sent.

Inside of Paragon check request data
  1. Now we turn back to Paragon:

Now we have seen in the body there is a code with the information we sent. Means Paragon has received our variables.

Yes, the @name, @email, and @age are the same as we sent to Paragon: This is how the trigger works, we send variables to Paragon, they receive, and when we try to test it as we did in step 15, it will be shown.

So until here the trigger of Paragon is done.

How did we do?

Contact