{ "requests": [ { "name": "request_1", "url": "https://example.com", "method": "GET" } ]}

Custom Apps

PushMetrics lets you create your own Custom App integration by defining a chain of API calls and secret keys. This is ideal for advanced workflows where no out-of-the-box integration exists.

Overview

With Custom Apps, you can:

  • Build your own integration by specifying API requests in JSON.
  • Use secret keys for authentication and sensitive values.
  • Chain multiple API calls to fetch, transform, or send data.

Steps to Set Up a Custom App

1. Navigate to Integrations
Go to Data & Integrations in the top navigation bar and select Custom App.

2. Fill in Custom App Details
Complete the form as shown below:

  • Display Name: A name for your custom integration (e.g., My Custom API).
  • Configuration: A JSON object describing your API requests.
    Example:

{ "requests": [ { "name": "request_1", "url": "https://example.com", "method": "GET" } ] }

  • Secret Keys: (Optional) A JSON object with sensitive values like API keys or tokens.
    Example:

{ "api_key": "your_secret_value"}


3. Save Your Custom App
Click Next to save your integration. It will now be available in workflows and automations.


Example Use Cases

  • Call a proprietary API to fetch data and use it in PushMetrics reports.
  • Send events or alerts to a third-party system.
  • Chain multiple API calls to combine external data sources.

Notes

  • Store secrets (like API keys) in the Secret Keys section. These are securely encrypted.
  • You can create multiple requests within a single Custom App configuration.
  • Use descriptive names for each request to make debugging easier.