Authorize via OAuth and send export data to an external service
The following script performs authentication using a token obtained via Resource Owner Password Flow and then sends the export data to an external service:Send export data to an external service
The following script names the exported file using the invoice number and then sends export data to an external service (Dropbox in this case):Modify extracted data
The following script modifies the value of an existing field and adds new values for a repeating field using information contained in a response from an external service:Retrieve data from a specific table column
The following script writes all values (rows) of the Description table column to the transaction event log:Retrieve data from all table columns
The following script writes all values (rows) of all table columns to the transaction event log:Add rows to a table
The following script adds new table rows and sets values for the Description and Quantity table columns:Delete rows from a table
The following script deletes all rows from a table:Delete a specific instance of a repeating field
The following script deletes the last instance of a repeating field:Generate a JSON file and send it to a third-party system
The following script generates a JSON file in a custom format and sends it to a third-party system:Retrieve original file names
The following script puts the original name of a file into the MyField field:Related topics
Custom activity
Extend skills with scripted logic and third-party integrations.
Object model
Full JavaScript object reference for Custom activity scripts.
Context
Global object for transaction data, HTTP requests, and secrets.
HttpRequest
Send urlencoded, text, JSON, or binary HTTP requests from a script.
MultipartFormDataRequest
Make multipart/form-data HTTP requests from Custom activity scripts.
ExportFormat
Formats available for files exported from a Custom or Output activity.
