The leader in location data intelligence. Smarty's easy-to-use APIs verify, validate, enrich, standardize, geocode, and auto-complete addresses at super speeds.
Go to siteThe Smarty API, previously known as SmartyStreets, provides powerful location data services, including address validation, geocoding, and autocomplete for addresses. Integrating Smarty with Pipedream allows you to automate processes that require address verification or geolocation data, enriching datasets, improving delivery accuracy, and enhancing user experiences through auto-complete suggestions. By leveraging Pipedream's serverless platform, you can create workflows that react to events, process data in real-time, and connect Smarty with hundreds of other services without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smarty: {
type: "app",
app: "smarty",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://us-zipcode.api.smartystreets.com/lookup`,
params: {
"auth-id": `${this.smarty.$auth.auth_id}`,
"auth-token": `${this.smarty.$auth.auth_token}`,
city: `{your_city}`,
state: `{your_state}`,
zipcode: `{your_zipcode}`,
},
})
},
})
Address Validation for E-commerce Checkout: Automate the validation of shipping addresses during the checkout process of an e-commerce app. When a new order is placed, trigger a Pipedream workflow that uses the Smarty API to confirm that the address is valid, reducing shipping errors and improving customer satisfaction.
Geocoding Addresses from CRM Entries: When a new contact is added to a CRM like HubSpot, automatically geocode the address and store the coordinates using the Smarty API. This data can be used to visualize customer locations on a map or for route optimization for sales reps.
Autocomplete Address in User Sign-up Forms: Improve user experience by adding autocomplete to address fields in sign-up forms. Connect a Pipedream workflow to your form submissions, use the Smarty API to fetch autocomplete suggestions, and dynamically update the form field to help users quickly complete address information.
Smarty uses API keys for authentication. When you connect your Smarty account, Pipedream securely stores the keys so you can easily authenticate to Smarty APIs in both code and no-code steps.
Sign in and copy your Auth ID and Token from the API Keys page.