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 . 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:
Here's an example of more advanced usage, taking advantage of things like custom styling and row hooks.
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
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.
Here is a quick summary of the properties you can configure. To get more details about each property, visit our .
settings
(required): An object that configures Dromo. The only required key is importIdentifier
For a list of the other optional configurations, check out our . You can also pass in custom styles so Dromo matches the look and feel of your application. For more information, check out the .
fields
(required): An object that defines your target schema or data model that a user must map their data to. For more details, check out our .
templateId
(required): You must get the data template ID to use Pulter. You can find your template ID by logging in .
rowHook
: Register or set one or more row hooks as separate callback functions. See our for more information.
matchColumnsStepHook
: Register or set the match columns step hook as a separate callback function. See our for more information.
uploadStepHook
: Register or set an upload step hook as a separate callback function. See our for more information.
selectHeaderStepHook
: Register or set a select Header Step Hook as a separate callback function. See our for more information.
tableHook
: Register or set table hook as a separate callback function. See our for more information.
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 .
templateId
(required): You must have a template ID to use Pulter. You can find your template ID by logging in .
rowHook
: Register or set one or more row hooks as separate callback functions. See our for more information.
tableHook
: Set a table hook as separate callback functions. See our for more information.