Install Code
Pulter provides a widget which you embed into your frontend. This widget will guide your users through selecting a file to upload, matching the columns to your schema, and correcting any errors.
Last updated
Pulter provides a widget which you embed into your frontend. This widget will guide your users through selecting a file to upload, matching the columns to your schema, and correcting any errors.
Last updated
When this is complete, there are two ways you can opt to receive your cleaned data.
With an onSubmit
callback. When the user completes the import process, Pulter will execute this callback with the structured data in JSON format.
Via the Pulter API. Pulter will send your app a webhook whenever an import is completed and ready to fetch.
Let's get started adding Pulter to your app!
Pulter provides different client libraries (Javascript, React, VueJs, Angular) which you can drop directly into your app.
Sample code with basic usage:
Each template has a unique Template ID. Find the Template ID of the template on the Settings of the template page and pass it to the Pulter function.
Here's an example of more advanced usage, taking advantage of things like custom styling and row hooks.
fields
(required): An object with that defines your target schema or data model that a user must map their data to. For more details, check out our fields documentation.
user
(required): Pass in an object that identifies the user in your application uploading the file. The user object has the following required keys:
id
(required): type string
The unique ID of the customer in your application
name
: type string
An optional name of the customer in your application
email
: type string
An optional email of the customer in your application
companyId
: type string
An optional company id of the customer in your application
companyName
: type string
An optional company name of the customer in your application
templateId
(required): You must have a template ID to use Pulter. You can find your template ID by logging in here.
onClose
: An optional callback function that will run if the user cancels out of the import.
onSubmit
: An optional callback to receive the upload results (in the frontend) when a user completes the upload.
rowHook
: Register or set one or more row hooks as separate callback functions. See our hooks documentation for more information.
tableHook
: Set a table hook as separate callback functions. See our hooks documentation for more information.