What do you want to automate

with npm and Expensify?

Prompt, edit and deploy AI agents that connect to npm, Expensify and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Expense with Expensify API on npm Download Counts from npm API
npm + Expensify
 
Try it
Create Report with Expensify API on New Download Counts from npm API
npm + Expensify
 
Try it
Export Report To PDF with Expensify API on npm Download Counts from npm API
npm + Expensify
 
Try it
Create Expense with Expensify API on New Package Version from npm API
npm + Expensify
 
Try it
Create Report with Expensify API on New Package Version from npm API
npm + Expensify
 
Try it
New Download Counts from the npm API

Emit new event with the latest count of downloads for an npm package. See the documentation

 
Try it
New Package Version from the npm API

Emit new event when a new version of an npm package is published. See the documentation

 
Try it
Create Expense with the Expensify API

Creates a new expense. See docs here

 
Try it
Create Report with the Expensify API

Creates a new report with transactions in a user's account. See docs here

 
Try it
Export Report To PDF with the Expensify API

Export a report to PDF. See docs here

 
Try it
Integrate the npm API with the Expensify API
Setup the npm API trigger to run a workflow which integrates with the Expensify API. Pipedream's integration platform allows you to integrate npm and Expensify remarkably fast. Free for developers.

Overview of Expensify

The Expensify API enables the automation of expense reporting and management tasks. By harnessing this API within Pipedream, you can craft workflows that streamline the expense submission process, synchronize financial data across platforms, and trigger actions based on expense report statuses. With Pipedream’s serverless platform, these automations can run in the background, allowing for real-time data processing and interaction between Expensify and a myriad of other apps and services.

Connect Expensify

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { axios } from "@pipedream/platform"

export default defineComponent({
  props: {
    expensify: {
      type: "app",
      app: "expensify",
    }
  },
  async run({ steps, $ }) {
    // The Expensify API requires the request data to be sent as
    // a URL-encoded form with a key of "requestJobDescription".
    // The value of this key must be a JSON string.
    
    // First, define the JSON object as per the Expensify API documentation.
    const requestJobDescription = {
      type: "get",
      credentials: {
          partnerUserID: this.expensify.$auth.partnerUserId,
          partnerUserSecret: this.expensify.$auth.partnerUserSecret,
      },
      inputSettings: {
          type: "policyList",
      }
    };

    // Use URLSearchParams to create a properly formatted form body.
    const formData = new URLSearchParams();
    formData.append('requestJobDescription', JSON.stringify(requestJobDescription));

    // Make the API call with the correctly formatted data.
    return await axios($, {
      method: "post",
      url: `https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations`,
      data: formData,
      // It's good practice to explicitly set the Content-Type header
      // to match the data format.
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded',
      },
    });
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo