Integromat
  • Back to website
Articles in this section
  • Airtable
  • Bubble
  • Email (legacy)
  • Facebook Groups
  • Formstack
  • Google Cloud Vision
  • Google Sheets (legacy)
  • HTTP
  • JSON
  • Magento 2
See more
  1. Integromat Support
  2. Apps
  3. Docs

New Relic

Integromat Integromat Updated October 08, 2020 15:38

The New Relic modules allow you to create, update, list, and delete the deployments in your New Relic account.

Getting Started with New Relic

Prerequisites

  • A New Relic account

In order to use New Relic with Integromat, it is necessary to have a New Relic account. If you do not have one, you can create a New Relic account at newrelic.com/signup.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting New Relic to Integromat

To connect your New Relic account to Integromat you need to obtain the API Key from your New Relic account and insert it in the Create a connection dialog in the Integromat module.

1. Log in to your New Relic account and open your Dashboard.

2. Click Your Profile Name > Account Settings > API Keys.

oqbmmMmSMI.gif

3. Click Create REST API Key > Show Key. In the Admin User's API Keys section, click the Refresh (New_Relic1.png) icon > Show Key. Copy the REST API key and Admin API key to a safe place.

9Do875MBYo.gif

4. Go to Integromat and open the New Relic module's Create a connection dialog.

DHOu7XOCBx.gif

5. In the Connection name field, enter a name for the connection.

6. In the REST API Key and Admin API Key fields, enter the keys copied in step 3 respectively.

7. Select whether your region is an EU Region and click Continue.

The connection has been established.

Deployments

Watch New Deployments

Triggers when a new deployment is created.

Webhook Name Enter a name for the webhook.
Connection Establish a connection to your New Relic account.

1. Open the Watch Deployments module, establish a connection, click Save, and copy the URL address to your clipboard. Click OK, Save, and run the trigger.

QCpR0tQW0G.gif

2. Login to your New Relic account, click Your Profile Name > Account Settings > Deploy Notifications. In the Webhook URL field, enter the URL address copied in step 1, and click Integrate with Webhooks.

mOm094x2nX.gif

The webhook is successfully added.

List Deployments

Return a list of deployments.

Connection Establish a connection to your New Relic account.
Application ID Select the Application ID whose deployments you want to list.
Limit Set the maximum number of deployments Integromat should return during one scenario execution cycle.

Create a Deployment

Creates a new deployment.

Connection Establish a connection to your New Relic account.
Application ID Select the Application ID whose deployments you want to create.
Revision Enter a revision number for the deployment. For example, 1.2
Changelog Enter the changelog details of the deployment.
Description Enter the details of the deployment.
User Select the User ID who is creating the deployment.

Delete a Deployment

Deletes a deployment.

Connection Establish a connection to your New Relic account.
Application ID Select the Application ID whose deployment you want to delete.
Deployment ID Select the Deployment ID you want to delete.

Other

Make an API Call

Performs an arbitrary authorized API call.

Connection Establish a connection to your New Relic account.
URL

Enter a path relative to https://api.eu.newrelic.com/. For example: /v2/applications.json

For the list of available endpoints, refer to the New Relic API Documentation.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

Headers Enter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query String Enter the request query string.
Body Enter the body content for your API call.

Example of Use - List Deployments

The following API call returns all the deployments from your New Relic account:

URL:
/v2/applications/{application_id}/deployments.json

Method:
GET

newrelic2.png

Matches of the search can be found in the module's Output under Bundle > Body > deployments. 
In our example, 2 deployments were returned:

newrelic1.png

Was this article helpful?
0 out of 0 found this helpful
Menu
  • Features
  • Apps & Services
  • Templates
  • Pricing
  • What's new
  • Use cases
Information
  • Terms,  Privacy
  • FAQ
  • Help & Tutorials
  • Community
  • Affiliate Program
  • Blog
Developers
  • Developer Platform
Company
  • About the company
  • Join our team
  • Contact
Follow us
© 2020 Integromat by Celonis. All rights reserved. Integromat® is a registered trademark.
  • English