πŸͺUsing Webhook

Get data right into the application whenever the user imports the file

Once the user completes importing the spreadsheet in the widget, the impler sends imported data to the callback URL mentioned in the destination.

If the callback URL is protected, there is a facility to add header-based authentication. To activate it you can mention authHeaderName in the destination section and its value to the import button as authHeaderValue prop.

How to add Webhook Destination?

  1. Open the Import and go to the Destination section.

  2. Enable Webhook.

  3. Provide REST API Endpoint of your application.

Chunk Size

You can provide Chunk Size too, which defines how many records Impler will send you in one request.

Authentication

Impler will call your API endpoint from the server, so it will not be visible to anyone. For additional security, you can provide Auth Header Name which will be the key of headers sent, while the value will be taken from the application when import starts.

Webhook Data Format

NameDescription

template

CODE of the template

uploadId

Upload ID

data

Array of data in JSON format

totalRecords

Total number of records in uploaded spreadsheet

totalPages

Total number of pages the data is divided on

page

Current page number

pageSize

Size of the data being sent

extra

Extra string or JSON if it's being passed to Import button

Have any doubts? Shoot us a message directly on Discord.

Last updated