← Circle + Jobber integrations

Create Service Request with Jobber API on New Post Published from Circle API

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

Trigger workflow on
New Post Published from the Circle API
Next, do this
Create Service Request with the Jobber 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 Circle trigger and Jobber 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 Post Published trigger
    1. Connect your Circle account
    2. Configure timer
    3. Select a Community ID
    4. Optional- Select a Space ID
  3. Configure the Create Service Request action
    1. Connect your Jobber account
    2. Select a Client ID
    3. Configure Title
    4. Optional- Configure Instructions
    5. Optional- Configure Start At
    6. Optional- Configure End At
  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 each time a new post gets published in the community.
Version:0.0.1
Key:circle-new-post

Circle Overview

The Circle API enables developers to tap into the heart of their Circle community platform, allowing them to read and write various types of community data programmatically. With this API, you can automate community management tasks, extract insights, manage members, and create a more dynamic and integrated community experience. By leveraging the Circle API within Pipedream's ecosystem, you can stitch together powerful workflows that react to events in Circle, push data to other services, and streamline community operations.

Trigger Code

import common from "../common/base.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  ...common,
  key: "circle-new-post",
  name: "New Post Published",
  description: "Emit new event each time a new post gets published in the community.",
  version: "0.0.1",
  type: "source",
  dedupe: "unique",
  methods: {
    ...common.methods,
    _getLastId() {
      return this.db.get("lastId") || 0;
    },
    _setLastId(lastId) {
      return this.db.set("lastId", lastId);
    },
    async getResponse({
      maxResults, lastId,
    }) {
      const response = this.circle.paginate({
        fn: this.circle.listPosts,
        maxResults,
        params: {
          status: "all",
          community_id: this.communityId,
          space_id: this.spaceId,
        },
      });

      const responseArray = [];

      for await (const item of response) {
        if (item.id <= lastId) break;
        responseArray.push(item);
      }

      if (responseArray.length) {
        this._setLastId(responseArray[0].id);
      }
      return responseArray;
    },
    getSummary({ id }) {
      return `New post with ID: ${id}`;
    },
  },
  sampleEmit,
};

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
CirclecircleappThis component uses the Circle app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer
Community IDcommunityIdstringSelect a value from the drop down menu.
Space IDspaceIdstringSelect a value from the drop down menu.

Trigger Authentication

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

To retrieve your API keys,

  • Navigate to your Circle account and sign in
  • Go to “Settings” > “Account” > “API”

About Circle

The all-in-one community platform for creators and brands.

Action

Description:Creates a new service request for a client's first property within Jobber. [See the documentation](https://developer.getjobber.com/docs/)
Version:0.0.2
Key:jobber-create-request

Jobber Overview

The Jobber API allows for the automation of service business operations, such as scheduling jobs, managing clients, and invoicing. By pairing it with Pipedream, you can craft powerful serverless workflows that react to events in Jobber or integrate with other services to streamline your business processes. With Pipedream’s ability to connect to hundreds of apps, you can create custom automations without writing a lot of code, handling everything from data transformations to complex logic.

Action Code

import jobber from "../../jobber.app.mjs";
import { ConfigurationError } from "@pipedream/platform";
import moment from "moment-timezone";

export default {
  key: "jobber-create-request",
  name: "Create Service Request",
  description: "Creates a new service request for a client's first property within Jobber. [See the documentation](https://developer.getjobber.com/docs/)",
  version: "0.0.2",
  type: "action",
  props: {
    jobber,
    clientId: {
      propDefinition: [
        jobber,
        "clientId",
      ],
    },
    title: {
      type: "string",
      label: "Title",
      description: "Title of the request",
    },
    instructions: {
      type: "string",
      label: "Instructions",
      description: "The instructions for the assessment",
      optional: true,
    },
    startAt: {
      type: "string",
      label: "Start At",
      description: "The scheduled start time in ISO 8601 format.",
      optional: true,
    },
    endAt: {
      type: "string",
      label: "End At",
      description: "The scheduled end time in ISO 8601 format.",
      optional: true,
    },
  },
  methods: {
    extractDateTimeAttributes(isoDateString) {
      const date = new Date(isoDateString);

      // Extract date
      const year = date.getFullYear();
      const month = (date.getMonth() + 1).toString().padStart(2, "0");
      const day = date.getDate().toString()
        .padStart(2, "0");
      const iso8601Date = `${year}-${month}-${day}`;

      // Extract time
      const hours = date.getHours().toString()
        .padStart(2, "0");
      const minutes = date.getMinutes().toString()
        .padStart(2, "0");
      const seconds = date.getSeconds().toString()
        .padStart(2, "0");
      const iso8601Time = `${hours}:${minutes}:${seconds}`;

      // Extract timezone
      const timezone = moment.tz.guess(true);

      return `{date: "${iso8601Date}", time: "${iso8601Time}", timezone: "${timezone}"}`;
    },
  },
  async run({ $ }) {
    if ((this.startAt && !this.endAt) || (!this.startAt && this.endAt)) {
      throw new ConfigurationError("Both Start At and End At should be provided.");
    }
    const {
      clientId,
      title,
      instructions = "",
    } = this;

    let schedule = "";
    if (this.startAt && this.endAt) {
      const startAt = this.extractDateTimeAttributes(this.startAt);
      const endAt = this.extractDateTimeAttributes(this.endAt);
      schedule = `, schedule: {startAt: ${startAt}, endAt: ${endAt}}`;
    }
    const assessment = `{instructions: "${instructions}"${schedule}}`;

    const response = await this.jobber.post({
      $,
      data: {
        query: `mutation CreateRequest {
          requestCreate(
            input: {title: "${title}", clientId: "${clientId}", assessment: ${assessment}}
          ) {
            request {
              id
              title,
              client {
                id
              }
            }
          }
        }`,
        operationName: "CreateRequest",
      },
    });
    if (response.errors) {
      throw new Error(response.errors[0].message);
    }
    $.export("$summary", `Successfully created service request for client ${clientId}.`);
    return response;
  },
};

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
JobberjobberappThis component uses the Jobber app.
Client IDclientIdstringSelect a value from the drop down menu.
Titletitlestring

Title of the request

Instructionsinstructionsstring

The instructions for the assessment

Start AtstartAtstring

The scheduled start time in ISO 8601 format.

End AtendAtstring

The scheduled end time in ISO 8601 format.

Action Authentication

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

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

About Jobber

Operations management software for home service businesses

More Ways to Connect Jobber + Circle

Create Client with Jobber API on New Comment Posted from Circle API
Circle + Jobber
 
Try it
Create Client with Jobber API on New Post Published from Circle API
Circle + Jobber
 
Try it
Create Quote with Jobber API on New Comment Posted from Circle API
Circle + Jobber
 
Try it
Create Quote with Jobber API on New Post Published from Circle API
Circle + Jobber
 
Try it
Create Service Request with Jobber API on New Comment Posted from Circle API
Circle + Jobber
 
Try it
New Comment Posted from the Circle API

Emit new event each time a new comment is posted in the selected community space.

 
Try it
New Post Published from the Circle API

Emit new event each time a new post gets published in the community.

 
Try it
Create Comment with the Circle API

Creates a comment on a post in Circle. See the documentation

 
Try it
Create Post with the Circle API

Create a new post in a selected space within your Circle community. See the documentation

 
Try it
Create Client with the Jobber API

Generates a new client within Jobber. See the documentation

 
Try it
Create Quote with the Jobber API

Generates a new quote for a client's property in Jobber. See the documentation

 
Try it
Create Service Request with the Jobber API

Creates a new service request for a client's first property within Jobber. See the documentation

 
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.