← Aircall + Coda integrations

List Docs with Coda API on New Number Created from Aircall API

Pipedream makes it easy to connect APIs for Coda, Aircall and 2,700+ other apps remarkably fast.

Trigger workflow on
New Number Created from the Aircall API
Next, do this
List Docs with the Coda API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

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

Developers Pipedream

Getting Started

This integration creates a workflow with a Aircall trigger and Coda 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 New Number Created trigger
    1. Connect your Aircall account
  3. Configure the List Docs action
    1. Connect your Coda account
    2. Optional- Select a Doc ID
    3. Optional- Configure Workspace
    4. Optional- Configure Folder ID
    5. Optional- Configure Search Query
    6. Optional- Configure Is Owner Docs
    7. Optional- Configure Is Published Docs
    8. Optional- Configure Is Starred Docs
    9. Optional- Configure In Gallery Docs
    10. Optional- Configure Max Items
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available 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:Emit new event when a number is created
Version:0.0.2
Key:aircall-new-number-created

Aircall Overview

The Aircall API allows you to harness telephony features within your applications, enabling you to manage calls, contacts, users, and more programmatically. With Pipedream's capability to leverage this API, you can automate call logging, synchronize contact information across platforms, dynamically route calls based on business logic, and generate analytics and reports.

Trigger Code

import common from "../common/common-webhook.mjs";

export default {
  ...common,
  key: "aircall-new-number-created",
  name: "New Number Created",
  description: "Emit new event when a number is created",
  version: "0.0.2",
  type: "source",
  dedupe: "unique",
  methods: {
    ...common.methods,
    async getHistoricalEvents() {
      // You may implement this if you want historical events for new numbers.
      // It depends on whether Aircall provides historical data for number creations.
      // If not, you can return an empty array or omit this method.
      return [];
    },
    getEventType() {
      return "number.created";
    },
    generateMeta(data) {
      return {
        id: `${data.id}`,
        summary: `New number created: ${data.name} (${data.digits})`,
        ts: data.created_at, // Convert created_at timestamp to a Date object
        additionalData: {
          direct_link: data.direct_link,
          country: data.country,
          time_zone: data.time_zone,
          open: data.open,
          availability_status: data.availability_status,
          is_ivr: data.is_ivr,
          live_recording_activated: data.live_recording_activated,
          users: data.users,
          priority: data.priority,
          messages: data.messages,
        },
      };
    },
  },
};

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
AircallaircallappThis component uses the Aircall app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.

Trigger Authentication

Aircall uses OAuth authentication. When you connect your Aircall account, Pipedream will open a popup window where you can sign into Aircall and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Aircall API.

Pipedream requests the following authorization scopes when you connect your account:

About Aircall

Call center software for customer-centric teams

Action

Description:Returns a list of docs accessible by the user. These are returned in the same order as on the docs page: reverse chronological by the latest event relevant to the user (last viewed, edited, or shared). [See docs](https://coda.io/developers/apis/v1#operation/listDocs)
Version:0.0.3
Key:coda-list-docs

Coda Overview

The Coda API enables you to interact with your Coda docs for both data retrieval and manipulation. By leveraging this API on Pipedream, you can automate document updates, synchronize data across different platforms, orchestrate complex workflows, and react to changes in real-time. Coda’s tables can act as dynamic databases that interconnect with various services, allowing you to streamline operations that depend on the timely and accurate exchange of information.

Action Code

import coda from "../../coda.app.mjs";

export default {
  key: "coda-list-docs",
  name: "List Docs",
  description: "Returns a list of docs accessible by the user. These are returned in the same order as on the docs page: reverse chronological by the latest event relevant to the user (last viewed, edited, or shared). [See docs](https://coda.io/developers/apis/v1#operation/listDocs)",
  version: "0.0.3",
  type: "action",
  props: {
    coda,
    docId: {
      propDefinition: [
        coda,
        "docId",
      ],
      description: "Show only docs copied from the specified doc",
      optional: true,
    },
    workspaceId: {
      type: "string",
      label: "Workspace",
      description: "Show only docs belonging to the given workspace",
      optional: true,
    },
    folderId: {
      propDefinition: [
        coda,
        "folderId",
      ],
      description: "Show only docs belonging to the given folder",
    },
    query: {
      propDefinition: [
        coda,
        "query",
      ],
    },
    isOwner: {
      type: "boolean",
      label: "Is Owner Docs",
      description: "Show only docs owned by the user",
      optional: true,
    },
    isPublished: {
      type: "boolean",
      label: "Is Published Docs",
      description: "Show only published docs",
      optional: true,
    },
    isStarred: {
      type: "boolean",
      label: "Is Starred Docs",
      description: "If true, returns docs that are starred. If false, returns docs that are not starred",
      optional: true,
    },
    inGallery: {
      type: "boolean",
      label: "In Gallery Docs",
      description: "Show only docs visible within the gallery",
      optional: true,
    },
    max: {
      propDefinition: [
        coda,
        "max",
      ],
      label: "Max Items",
    },
  },
  async run({ $ }) {
    let params = {
      sourceDoc: this.docId,
      workspaceId: this.workspaceId,
      folderId: this.folderId,
      query: this.query,
      isOwner: this.isOwner,
      isPublished: this.isPublished,
      isStarred: this.isStarred,
      inGallery: this.inGallery,
    };

    let items = [];
    let response;
    do {
      response = await this.coda.listDocs($, params);
      items.push(...response.items);
      params.pageToken = response.nextPageToken;
    } while (params.pageToken && items.length < this.max);

    if (items.length > this.max) items.length = this.max;

    $.export("$summary", `Retrieved ${items.length} doc(s)`);

    return items;
  },
};

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
CodacodaappThis component uses the Coda app.
Doc IDdocIdstringSelect a value from the drop down menu.
WorkspaceworkspaceIdstring

Show only docs belonging to the given workspace

Folder IDfolderIdstring

Show only docs belonging to the given folder

Search Queryquerystring

Search term used to filter down results

Is Owner DocsisOwnerboolean

Show only docs owned by the user

Is Published DocsisPublishedboolean

Show only published docs

Is Starred DocsisStarredboolean

If true, returns docs that are starred. If false, returns docs that are not starred

In Gallery DocsinGalleryboolean

Show only docs visible within the gallery

Max Itemsmaxinteger

Maximum number of results to return in this query

Action Authentication

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

About Coda

Coda is familiar like a doc and engaging like an app, so your team can jump in quickly, collaborate effectively, and make decisions that stick.

More Ways to Connect Coda + Aircall

Get Call with Aircall API on New Row Created from Coda API
Coda + Aircall
 
Try it
Create Contact with Aircall API on New Row Created from Coda API
Coda + Aircall
 
Try it
Update Contact with Aircall API on New Row Created from Coda API
Coda + Aircall
 
Try it
Copy Doc with Coda API on New Note Added from Aircall API
Aircall + Coda
 
Try it
Create Doc with Coda API on New Note Added from Aircall API
Aircall + Coda
 
Try it
New Call Ended from the Aircall API

Emit new event when a call ends

 
Try it
New Note Added from the Aircall API

Emit new event when a new note is added to a call

 
Try it
New Number Created from the Aircall API

Emit new event when a number is created

 
Try it
New Tag Added from the Aircall API

Emit new event when a tag is added to a call

 
Try it
New Row Created from the Coda API

Emit new event for every created / updated row in a table. See the documentation.

 
Try it
Create Contact with the Aircall API

Create a contact in Aircall. See the documentation

 
Try it
Get Call with the Aircall API

Retrieves details about a call. See the docs here

 
Try it
Update Contact with the Aircall API

Update a contact in Aircall. See the documentation

 
Try it
Copy Doc with the Coda API

Creates a copy of the specified doc. See docs

 
Try it
Create Doc with the Coda API

Creates a new doc. See docs

 
Try it

Explore Other Apps

1
-
24
of
2,700+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
Pinterest
Pinterest
Pinterest is a visual discovery engine for finding ideas like recipes, home and style inspiration, and more.
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.