Export
@flatfile/plugin-webhook-egress
A plugin for egressing data from a Flatfile Workbook to a webhook.
@flatfile/plugin-webhook-egress
The @flatfile/plugin-webhook-egress
plugin egresses Flatfile Workbooks to a
webhook.
Event Type:
listener.on('{jobParam}')
(i.e. listener.on('workbook:submitActionFg')
)
Parameters
job
string
requiredThe job
parameter takes the job name.
url
string
requiredThe url
parameter takes the webhook url.
Imported NPM Packages
@flatfile/api@1.7.4+
@flatfile/listener@1.0.1+
@flatfile/plugin-job-handler@0.4.1+
@flatfile/util-common@1.0.3+
@flatfile/util-response-rejection@1.2.4+
node-fetch@3.3.2+
Usage
The webhookEgress
plugin creates an action that will export workbook data via a webhook.
It requires an operation parameter which specifies the event that will initiate the egress. The
webhook url can either be passed in as a parameter or set as an environment variable WEBHOOK_SITE_URL
.
install
workbook.config.json
listener.js