with Google Maps (Places API) and Formstack?
Emit new event for each new form submission. See docs here
Retrieves detailed information for a specific place using its Place ID. See the documentation
Searches for places based on location, radius, and optional filters like keywords, place type, or name. See the documentation
Create a new submission for the specified form. See docs here
The Google Maps (Places API) offers detailed information about physical locations, including places of interest, reviews, and other metadata. In Pipedream, you can leverage this API to create dynamic workflows that respond to location data. Whether you're building apps that track asset locations, automate location-based alerts, or provide users with local info, integrating with Google Maps can add a powerful spatial context to your services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_maps_platform: {
type: "app",
app: "google_maps_platform",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://maps.googleapis.com/maps/api/place/findplacefromtext/json`,
params: {
key: `${this.google_maps_platform.$auth.api_key}`,
input: `Museum of Contemporary Art Australia`,
inputtype: `textquery`,
},
})
},
})
The Formstack API facilitates the automation of form creation and submission processes, enhancing data collection and integration. With Pipedream's serverless platform, you can trigger workflows on form submissions, manipulate and route form data to various endpoints, and seamlessly connect Formstack with other apps to streamline tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formstack: {
type: "app",
app: "formstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.formstack.com/api/v2/form.json`,
headers: {
Authorization: `Bearer ${this.formstack.$auth.oauth_access_token}`,
},
})
},
})