with HelpCrunch and IP2Location?
Emit new event when the status of a chat is updated. See the documentation
Emit new event when a new customer is created. See the documentation
Query IP address using IP2Location API. See the docs here for how to use this API.
Creates a new customer record within the Helpcrunch platform. See the documentation
Search for an existing customer within Helpcrunch platform, if no match is found it creates a new customer record. See the documentation
The HelpCrunch API provides a platform for customer communication, enabling automation of messaging, data synchronization, and customer support activities. It allows you to create and update users, send messages, and manage conversations directly through API calls. Integrating HelpCrunch with Pipedream lets you connect these capabilities to hundreds of other apps, streamlining workflows that can respond dynamically to customer interactions, sync data across platforms, or trigger communications based on specific events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
helpcrunch: {
type: "app",
app: "helpcrunch",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.helpcrunch.com/v1/organization`,
headers: {
Authorization: `Bearer ${this.helpcrunch.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})