Find Cities & Towns with GeoDB Cities API.
Emits an event each time a new contact is created in Zoho CRM
Emit new events each time a new module/record is created in Zoho CRM
Emits an event each time a new contact is created or updated in Zoho CRM
Find cities, filtering by optional criteria. If no criteria are set, you will get back all known cities with a population of at least 1000. See the docs.
Converts a Lead into a Contact or an Account. See the documentation
Get the details for a specific country, including number of regions. See the docs.
Get the details of a specific country region, including number of cities. See the docs.
The GeoDB Cities API lets you tap into a rich dataset of worldwide cities, their attributes, and related data. On Pipedream, you can use this API to create workflows that automate location-based tasks, enrich data with geographical context, or power apps with location intelligence. For instance, you could trigger a workflow whenever a new city is added to a database, gather demographic information based on city names, or even integrate with travel platforms to plan itineraries.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
geodb_cities: {
type: "app",
app: "geodb_cities",
}
},
async run({steps, $}) {
const data = {
"query": `{country(id:"US"){name region(code:"CA"){name populatedPlaces(first:10){totalCount pageInfo{startCursor endCursor hasNextPage}edges{node{name}}}}}}`,
}
return await axios($, {
method: "post",
url: `http://geodb-free-service.wirefreethought.com/graphql`,
headers: {
"x-rapidapi-key": `${this.geodb_cities.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
The Zoho CRM API enables the manipulation and retrieval of data within Zoho CRM, a platform for managing your sales, marketing, support, and inventory in a single system. Leveraging this on Pipedream, you can automate tasks like syncing contacts, updating lead statuses, or creating custom CRM operations that trigger actions in other apps. Pipedream's serverless platform allows for real-time data processing, transforming, and orchestrating workflows that respond to events in Zoho CRM with minimal latency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_crm: {
type: "app",
app: "zoho_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.zoho_crm.$auth.api_domain}/crm/v2/users?type=CurrentUser`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_crm.$auth.oauth_access_token}`,
},
})
},
})