IPStack
Version: 2.0.0
IPStack offers one of the leading IP to geolocation APIs and global IP database services worldwide.
Connect IPStack with LogicHub
- Navigate to Automations > Integrations.
- Search for IPStack.
- Click Details, then the + icon. Enter the required information in the following fields.
- Label: Enter a connection name.
- Reference Values: Define variables here to templatize integration connections and actions. For example, you can use https://www.{{hostname}}.com where, hostname is a variable defined in this input. For more information on how to add data, see 'Add Data' Input Type for Integrations.
- Verify SSL: Select option to verify connecting server's SSL certificate (Default is Verify SSL Certificate).
- Remote Agent: Run this integration using the LogicHub Remote Agent.
- API Access Key: The API access key to connect to the IPStack.
- After you've entered all the details, click Connect.
Actions for IPStack
IP Geolocation Lookup
Submit an IP address and attributing the Geographic location, City, Region, and Country.
Input Field
Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.
Input Name | Description | Required |
---|---|---|
Column Name | Select the column name from parent table to lookup IP for. | Required |
Output
A JSON object containing multiple rows of result:
- has_error: True/False
- error: message/null
- result: Success/Failure message
{
"has_error": true,
"error": "Error in request to ipstack: No JSON object could be decoded"
}
Release Notes
v2.0.0
- Updated architecture to support IO via filesystemv1.0.10
- Added documentation link in the automation library.
Updated about 1 year ago