2. Calling the External System
Last updated
Last updated
Create the Service Request
Now that the integration has been created, we can begin to add logic to it. For this tutorial, we will simply call the randomuser.me
API and receive its response.
Right click on the integration, click Go To, then click Service Request.
You will see an empty table.
On the toolbar along the bottom of the screen, click the plus icon (+) to add a new Service Request. This will create a new row in the table, which will be highlighted in green to indicate it was newly created.
We need to fill out three columns on this service request. You may need to scroll your screen to the right to see all of them.
Save your changes by clicking the Save icon on the bottom toolbar.
Next, we will create the Field Mappings for this Service Request.
Create the Field Mappings
Right click along the service request's row, then click Go To, then click Field Mapping. You will see an empty table.
Create two new field mappings by clicking the plus icon (+) on the bottom toolbar twice. Fill out the first field mapping by entering the following values in the first row:
Then, fill out the second field mapping with the following values:
Save your changes.
Column | Value |
---|---|
You can verify that you're on the correct page by checking the Component dropdown on the top-left of the page. At this step, it should read "Field Mapping".
Column | Value |
---|---|
Column | Value |
---|---|
System
HTTP
Service Name
n/a
Formula Variable
request_users
Field
method
Value
"GET"
Value Type
str
Field
url_path
Value
"/api"
Value Type
str