Approveit Guide: Outbound Approveit API

Description:

Outbound API allows you to send approval request data to an external source.

Example: 

Upon approval, approval request data is recorded as a row in GoogleSheets

How to set up:

1. Create workflow. In the Form Section choose custom type 

2. Click on the Post-approval action and in the drop-down menu select ‘API’

3. Insert your Endpoint .

4. Choose the data that you want to receive.

5. Click ‘Update’ 

6. Upon the request approval (after the new request is created and approved) you will receive the data in the JSON format

Example: data extracted from the approved request in the JSON format 

{

    "Text (Single line)": "Laptop",

    "TextText (Multiline)": "for project",

    "Amount": "2000.99",

    "Number": 43,

Files are received as links: 

"File": "https://app.approveit.today/files/6b6085af-f5a8-4a70-8982-ed7b07cf2a07",

    "Multiple Files": [

        "https://app.approveit.today/files/44f3c527-5806-41af-a166-d08cb134792c",

        "https://app.approveit.today/files/5fa37c71-28c9-4b0c-a15e-2cf8cf19cf25",

        "https://app.approveit.today/files/0f2a3890-a4de-41f5-adc8-7dd177f0638b"

    ],

    "Date": "2023-01-27",

    "Dropdown": "2",

    "Multiselect": [

        "1",

        "2",

        "3",

        "43"

    ],

    "Vendor": {

        "suplier_name": "Apple",

        "bank_account_name": "The Bank ABC",

        "bank_account_number": "BIC454213 3123 43424342"

    }

}
Helpful?