πͺUsing Webhook
Get data right into the application whenever the user imports the spreadsheet
Once the user completes importing the spreadsheet in the widget, the impler starts sending spreadsheet data to the callback URL mentioned in the project.
If the callback URL is protected, there is a facility to add header-based authentication. To activate it you can mention authHeaderName
in the project and its value to the import
button as authHeaderValue
prop.
Data will be sent to the application in chunks, you can mention your desired chunkSize
in project.
Data will be sent to the callbackURL
in the following format,
Name | Description |
---|---|
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 |
Have any doubts? Shoot us a message directly on Discord.
Last updated