🎉 Pipedream raises $20M Series A 🎉
Read the blog post and TC Techcrunch article.
← HERE + Airtable integrations

Update record with Airtable APIon Weather for ZIP Code from HERE API

Pipedream makes it easy to connect APIs for Airtable, HERE and 700+ other apps remarkably fast.

Trigger workflow on
Weather for ZIP Code from the HERE API
Next, do this
Update record with the Airtable API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

This integration creates a workflow with a HERE trigger and Airtable action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the Weather for ZIP Code trigger
    1. Connect your HERE account
    2. Configure ZIP code
    3. Configure timer
  3. Configure the Update record action
    1. Connect your Airtable account
    2. Configure baseId
    3. Configure tableId
    4. Configure Record ID
    5. Configure Record
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, open source components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emits the weather report for a specific ZIP code on a schedule
Version:0.0.2
Key:here-weather-for-zip

Trigger Code

const here = require('../../here.app.js');

module.exports = {
  name: 'Weather for ZIP Code',
  version: '0.0.2',
  key: 'here-weather-for-zip',
  description: 'Emits the weather report for a specific ZIP code on a schedule',
  props: {
    here,
    zipCode: {propDefinition: [here, 'zipCode']},
    timer: {
      type: '$.interface.timer',
      default: {
        intervalSeconds: 60 * 15, // by default, run every 15 minutes
      },
    },
  },
  async run(event) {
    const report = await this.here.returnReportForZIP(this.zipCode);
    this.$emit(report, {
      summary: `Weather report for ${this.zipCode} at ${report.feedCreation}`,
      ts: Date.now(),
    });
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
HEREhereappThis component uses the HERE app.
ZIP codezipCodeinteger

The ZIP code you'd like to pull weather stats for (only supported for locations in the United States)

timer$.interface.timer

Trigger Authentication

HERE uses API keys for authentication. When you connect your HERE account, Pipedream securely stores the keys so you can easily authenticate to HERE APIs in both code and no-code steps.

Sign up for a HERE account, then create a new application and associated API key — see the HERE Authentication Docs for step-by-step instructions.

Enter your API key below.

About HERE

Build location-aware apps and services using the world’s #1 location platform

Action

Description:Update a single record in a table by Record ID.
Version:0.1.0
Key:airtable-update-record

Action Code

const airtable = require("../../airtable.app.js");
const common = require("../common.js");

module.exports = {
  key: "airtable-update-record",
  name: "Update record",
  description: "Update a single record in a table by Record ID.",
  version: "0.1.0",
  type: "action",
  props: {
    ...common.props,
    recordId: {
      propDefinition: [
        airtable,
        "recordId",
      ],
    },
    record: {
      propDefinition: [
        airtable,
        "record",
      ],
    },
  },
  async run() {
    this.airtable.validateRecordID(this.recordId);
    const base = this.airtable.base(this.baseId);
    try {
      return (await base(this.tableId).update([
        {
          id: this.recordId,
          fields: this.record,
        },
      ]))[0];
    } catch (err) {
      this.airtable.throwFormattedError(err);
    }
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
AirtableairtableappThis component uses the Airtable app.
baseIdbaseId$.airtable.baseId
tableIdtableId$.airtable.tableId
Record IDrecordIdstring

Enter a record ID (eg. recxxxxxxx).

Recordrecordobject

Enter the column name for the key and the corresponding column value. You can include all, some, or none of the field values. You may also disable structured mode to pass a JSON object with key/value pairs representing columns and values.

Action Authentication

Airtable uses API keys for authentication. When you connect your Airtable account, Pipedream securely stores the keys so you can easily authenticate to Airtable APIs in both code and no-code steps.

Airtable uses simple token-based authentication. To generate or manage your API key, visit your account settings.

get airtable api key

About Airtable

Looks like a spreadsheet, acts like a database.

More Ways to Connect Airtable + HERE