Identify Geographical Location and Proxy by IP Address
Query IP address using IP2Location API. See the docs here for how to use this API.
Allows you to add one or more email addresses to the global suppressions group. See the docs here
Allows you to create a new contact list. See the docs here
Allows you to delete all email addresses on your blocks list. See the docs here
The IP2Location API enables you to uncover valuable information about an IP address. With it, you can pinpoint a user's geographic location, such as country, region, city, and even latitude and longitude coordinates. This data is essential for various tasks like localizing content, analyzing traffic, or enhancing security by detecting potentially malicious activity. Using Pipedream, you can automate actions based on IP location data, integrating it with hundreds of other services without writing any code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ip2location: {
type: "app",
app: "ip2location",
},
ip: {
type: "string",
default: "142.113.220.31"
},
package: {
type: "string",
default: "WS1"
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ip2location.com/v2`,
params: {
key: `${this.ip2location.$auth.api_key}`,
ip: `${this.ip}`,
package: `${this.package}`,
},
})
},
})
The Twilio SendGrid API opens up a world of possibilities for email automation, enabling you to send emails efficiently and track their performance. With this API, you can programmatically create and send personalized email campaigns, manage contacts, and parse inbound emails for data extraction. When you harness the power of Pipedream, you can connect SendGrid to hundreds of other apps to automate workflows, such as triggering email notifications based on specific actions, syncing email stats with your analytics, or handling incoming emails to create tasks or tickets.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendgrid: {
type: "app",
app: "sendgrid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendgrid.com/v3/user/account`,
headers: {
Authorization: `Bearer ${this.sendgrid.$auth.api_key}`,
},
})
},
})