Skip to main content
Learn how to connect Engini to Expensify.

Getting Started with Expensify

Prerequisites

  1. Access to Expensify admin account through Expensify.
  2. Retrieve your partnerUserID and partnerUserSecret details. To learn more about the authentication, click here Authentication.

Add an Expensify connection in Engini

  1. Enter your Engini account at https://app.engini.io.
  2. Navigate to Connections page by clicking on the Connections on the left sidebar or by clicking here.
  3. Click on the “New Integration” option located at the top bar.
  4. Choose Expensify option from the available applications.
  5. Enter the following details in the “New Integration” form and press Save:
    1. Connection name - Enter a unique and descriptive name for this connection. This name will help you identify and manage the connection in your Engini account. ‘Expensify’ is the default name.
    2. Partner user ID - Enter the parnterUserID you retrieved from your account in the ‘Getting Started with Expensify’ section.
    3. Partner User Secret - Enter the partnerUserSecret you retrieved from your account in the ‘Getting Started with Expensify’ section.
    4. Employee Email - You may choose to enter your employee email address, it’s optional.
    5. Save Settings - Click on the Save button located at the bottom of the form.

Actions

Create Expense

Creates a new expense for an employee in Expensify.
  1. Employee Email - Enter the employee’s relevant email address. If left empty, we will use the default email that was defined in the connection. The expenses will be created in this account.
  2. Merchant - Select the name of the merchant for the expense.
  3. Amount - Select the amount of the expense, in cents.
  4. Currency - Enter a three-letter currency code value for the relevant currency type of the expense.
  5. Created Date - Choose a relevant date for expense creation in the format yyyy-MM-dd.
  6. Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.

Create Policy

Creates a new policy in Expensify.
  1. Policy Name - Choose a policy name.
  2. Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.

Get Policy

Retrieves an existing policy.
  1. Policy ID
    • Click on the empty field on the right side to display the tooltip with all the options available for filling the field.
    • Choose a policy from the tooltip.
  2. Fields[]
    • This field expects to receive an array of the fields you want to retrieve for the policy. Click on the empty field on the right side to display the tooltip and use the ‘CreateArray’ function.
    • Click on the field on the right side to add the relevant fields to the array.
  3. Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.

Get Policies

Retrieves existing policies.
  • Add Filter - Click Add Filter to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.

Update Policy

Updates an existing policy.
  1. Policy ID
    1. Click on the empty field on the right side to display the tooltip with all the options available for filling the field.
    2. Choose a policy from the tooltip.
  2. Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.

Create Policy Expense Rule

Creates a policy expense rule in Expensify.
  1. Employee Email - Enter the employee’s relevant email address. If left empty, we will use the default email that was defined in the connection. The policy expense will be created in this account.
  2. Policy ID
    • Click on the empty field on the right side to display the tooltip with all the options available for filling the field.
    • Choose a policy from the tooltip.
  3. Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.

Create Report Template

Creates a report template in Expensify.
  1. Template Format
    • Click on the empty field on the right side to display the tooltip with all the options available for filling the field.
    • Choose a format from the tooltip.
  2. Name - The default name of the template is ‘Report Template.’ You have the flexibility to rename it according to your specific use case.
  3. Add Template Fields - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.

Export Report

Exports a report that was created within the workflow. You can read more about this action here .
  1. Report Template - Select a report template that was created in the workflow which you want to export.
  2. Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.

Initialize Objects Array

Creates and sets up an array, a structured collection of objects, which can be used for various purposes throughout your workflow.
  1. Name - By default, the array is named ‘objects array’, but you have the flexibility to rename it according to your specific use case.
  2. Object Item Type - Define the type of objects from the drop down that will be stored within the array. For information about the Object click here.

Map Object Type Array

We use this activity when there is an array of data that requires transformation into a different structure.
  1. Data List - Choose a data list that you’ve obtained from previous activities in your workflow. This data list contains an array of objects that you want to process and transform.
  2. Object Element Type - Define the type of objects from the drop down that will be stored within the array. According to the object element type you chose, the fields in step 3 will be defined. For information about the Object click here.
  • Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.

Append Item to Array

You can add an item to an existing array, allowing you to expand, and manipulate an array.
  • Variable - Select an existing array variable from the dropdown in which you want to populate an item.
  • Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.

Update Employee

This activity allows you to update an existing employee.
  1. Employee Email - Enter the employee’s relevant email address. If left empty, we use the default email that was defined in the connection.
  2. Manager Email - Enter the relevant email address of the employee’s manager.
  3. Employee ID - Select the employee ID.
  4. Policy ID - Select the relevant policy ID for the employee.
  5. Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.

Object Element Types

There are 4 object element types:
  1. Category – classification of the type of expenses. For instance, office supplies. You can read more about it here
  2. Report Field – a data that can specify details in a report. For instance, the data can be information about relocation. You can read more about it here
  3. Tag – a component which allows you to assign the expense to department, location and project.
  4. Tag Level – you can utilize one or more tags, each potentially containing sub-tags within a parent tag. Read more about tags here