← Accelo + Data Stores integrations

Add or update a single record with Data Stores API on New Request Created (Instant) from Accelo API

Pipedream makes it easy to connect APIs for Data Stores, Accelo and 1400+ other apps remarkably fast.

Trigger workflow on
New Request Created (Instant) from the Accelo API
Next, do this
Add or update a single record with the Data Stores API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

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

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Accelo trigger and Data Stores 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 Request Created (Instant) trigger
    1. Connect your Accelo account
  3. Configure the Add or update a single record action
    1. Connect your Data Stores account
    2. Configure Data Store
    3. Select a Key
    4. Configure Value
  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 on each new request created.
Version:0.0.1
Key:accelo-new-request-created

Accelo Overview

Accelo's API lets you build a wide variety of integrations and automations to
streamline your workflows. Here are some examples of what you can build:

  • A tool to automatically generate invoices and send them to clients
  • A system to track billable hours and generate reports on project
    profitability
  • A way to sync your company's contact list with your CRM
  • An integration with your accounting software to automate billing
  • A system to automatically generate quotes and send them to prospects
  • A project management tool that integrates with Accelo to automatically create
    and update project milestones, tasks, and events

Trigger Code

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

export default {
  ...common,
  name: "New Request Created (Instant)",
  version: "0.0.1",
  key: "accelo-new-request-created",
  description: "Emit new event on each new request created.",
  type: "source",
  dedupe: "unique",
  hooks: {
    ...common.hooks,
    async deploy() {
      const { response: requests } = await this.accelo.getRequests({
        params: {
          _filters: "order_by_desc(date_created)",
          _limit: 10,
        },
      });

      for (const request of requests.slice(0, 10).reverse()) {
        await this.emitEvent(request);
      }
    },
  },
  methods: {
    ...common.methods,
    getWebhookEventType() {
      return "create_request";
    },
    async emitEvent(data) {
      const request = await this.accelo.getRequest({
        requestId: data.id,
      });

      this.$emit(request, {
        id: data.id,
        summary: `New request created with ID ${data.id}`,
        ts: Date.parse(data.date_created),
      });
    },
  },
};

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
AcceloacceloappThis component uses the Accelo 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

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

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

write(all)

About Accelo

Automating Professional Service Operations

Action

Description:Add or update a single record in your [Pipedream Data Store](https://pipedream.com/data-stores/).
Version:0.0.9
Key:data_stores-add-update-record

Data Stores Overview

With the Data Stores API, you can build applications that:

  • Store data for later retrieval
  • Retrieve data from a store
  • Update data in a store
  • Delete data from a store

Action Code

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

export default {
  key: "data_stores-add-update-record",
  name: "Add or update a single record",
  description: "Add or update a single record in your [Pipedream Data Store](https://pipedream.com/data-stores/).",
  version: "0.0.9",
  type: "action",
  props: {
    app,
    dataStore: {
      propDefinition: [
        app,
        "dataStore",
      ],
    },
    key: {
      propDefinition: [
        app,
        "key",
        ({ dataStore }) => ({
          dataStore,
        }),
      ],
      description: "Enter a key for the record you'd like to create or select an existing key to update.",
    },
    value: {
      propDefinition: [
        app,
        "value",
      ],
    },
  },
  async run({ $ }) {
    const {
      key,
      value,
    } = this;
    const exists = await this.dataStore.has(key);
    const parsedValue = this.app.parseValue(value);
    await this.dataStore.set(key, parsedValue);
    // eslint-disable-next-line multiline-ternary
    $.export("$summary", `Successfully ${exists ? "updated the record for" : "added a new record with the"} key, \`${key}\`.`);
    return {
      key,
      value: parsedValue,
    };
  },
};

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
Data StoresappappThis component uses the Data Stores app.
Data StoredataStoredata_store

Select an existing Data Store or create a new one.

KeykeystringSelect a value from the drop down menu.
Valuevalueany

Enter a string, object, or array.

Action Authentication

The Data Stores API does not require authentication.

About Data Stores

Use Pipedream Data Stores to manage state throughout your workflows.

More Ways to Connect Data Stores + Accelo

Delete All Records with Data Stores API on New Task Assigned (Instant) from Accelo API
Accelo + Data Stores
 
Try it
List keys with Data Stores API on New Task Assigned (Instant) from Accelo API
Accelo + Data Stores
 
Try it
Delete All Records with Data Stores API on New Request Created (Instant) from Accelo API
Accelo + Data Stores
 
Try it
List keys with Data Stores API on New Request Created (Instant) from Accelo API
Accelo + Data Stores
 
Try it
List Records with Data Stores API on New Task Assigned (Instant) from Accelo API
Accelo + Data Stores
 
Try it
New Request Created (Instant) from the Accelo API

Emit new event on each new request created.

 
Try it
New Task Assigned (Instant) from the Accelo API

Emit new event on each new task assigned.

 
Try it
Create Contact with the Accelo API

Creates a contact. See docs here

 
Try it
Create Prospect with the Accelo API

Creates a prospect. See docs here

 
Try it
Create Request with the Accelo API

Creates a request. See docs here

 
Try it
Update Contact with the Accelo API

Updates a contact. See docs here

 
Try it
Add or update a single record with the Data Stores API

Add or update a single record in your Pipedream Data Store.

 
Try it

Explore Other Apps

1
-
12
of
1400+
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.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
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.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
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 apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
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.