← TimeTonic + HR Cloud integrations

Create Task with HR Cloud API on Row Deleted from TimeTonic API

Pipedream makes it easy to connect APIs for HR Cloud, TimeTonic and 2,700+ other apps remarkably fast.

Trigger workflow on
Row Deleted from the TimeTonic API
Next, do this
Create Task with the HR Cloud 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 TimeTonic trigger and HR Cloud 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 Row Deleted trigger
    1. Connect your TimeTonic account
    2. Configure timer
    3. Select a Book Code
    4. Select a Table ID
  3. Configure the Create Task action
    1. Connect your HR Cloud account
    2. Select a Application Code
    3. Configure Title
    4. Select one or more Employee IDs
    5. Select a Assignee Type
    6. Optional- Select a Assignee Employee ID
  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 row is deleted in a table.
Version:0.0.1
Key:timetonic-row-deleted

TimeTonic Overview

TimeTonic API on Pipedream allows you to automate workflows involving project management and data organization. With TimeTonic, you can create, update, retrieve, and manage databases and tables dynamically, ideal for businesses looking to streamline operations like task tracking, inventory management, and team collaboration. Leveraging Pipedream's capabilities, you can integrate TimeTonic with numerous other apps to automate data flow across platforms, trigger actions based on specific conditions, and maintain real-time synchronization of business operations.

Trigger Code

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

export default {
  ...common,
  key: "timetonic-row-deleted",
  name: "Row Deleted",
  description: "Emit new event when a row is deleted in a table.",
  version: "0.0.1",
  type: "source",
  dedupe: "unique",
  methods: {
    ...common.methods,
    _getRowIds() {
      return this.db.get("rowIds") || [];
    },
    _setRowIds(rowIds) {
      this.db.set("rowIds", rowIds);
    },
    generateMeta(row) {
      return {
        id: row.id,
        summary: `Row with ID: ${row.id} Deleted`,
        ts: Date.now(),
      };
    },
    processRows(rows) {
      const previousRowIds = this._getRowIds();
      const currentRowIds = rows.map(({ id }) => id);
      for (const id of previousRowIds) {
        if (!currentRowIds.includes(id)) {
          const row = {
            id,
          };
          const meta = this.generateMeta(row);
          this.$emit(row, meta);
        }
      }
      this._setRowIds(currentRowIds);
    },
  },
};

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
TimeTonictimetonicappThis component uses the TimeTonic app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer
Book CodebookCodestringSelect a value from the drop down menu.
Table IDtableIdstringSelect a value from the drop down menu.

Trigger Authentication

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

About TimeTonic

Unlock the full potential of your business with TimeTonic's powerful NoCode platform. Centralize information, custom create collaborative business apps and automate workflows to seamlessly connect your data, teams and processes for improved efficiency and productivity.

Action

Description:Creates a new task. [See the documentation](https://help.hrcloud.com/api/#/task#POST_tasks)
Version:0.0.1
Key:hr_cloud-create-task

HR Cloud Overview

HR Cloud is a human resources management system (HRMS) that helps businesses manage their employee data, payroll, benefits, time tracking, and more. This integration enables you to automate your HR workflows by connecting HR Cloud with thousands of other apps on Pipedream.

Action Code

import hrCloud from "../../hr_cloud.app.mjs";

export default {
  key: "hr_cloud-create-task",
  name: "Create Task",
  description: "Creates a new task. [See the documentation](https://help.hrcloud.com/api/#/task#POST_tasks)",
  version: "0.0.1",
  type: "action",
  props: {
    hrCloud,
    applicationCode: {
      propDefinition: [
        hrCloud,
        "applicationCode",
      ],
      reloadProps: true,
    },
    title: {
      propDefinition: [
        hrCloud,
        "title",
      ],
    },
    employeeIds: {
      propDefinition: [
        hrCloud,
        "employeeId",
      ],
      type: "string[]",
      label: "Employee IDs",
      description: "Array of related employee IDs",
    },
    assigneeType: {
      propDefinition: [
        hrCloud,
        "assigneeType",
      ],
      reloadProps: true,
    },
    assignedEmployeeId: {
      propDefinition: [
        hrCloud,
        "employeeId",
      ],
      label: "Assignee Employee ID",
      description: "ID of assigned employee",
      hidden: true,
      optional: true,
    },
  },
  additionalProps(existingProps) {
    const props = {};

    if (this.assigneeType === "SpecificEmployee") {
      existingProps.assignedEmployeeId.hidden = false;
      existingProps.assignedEmployeeId.optional = false;
    }

    if (this.assigneeType === "Hierarchy") {
      props.hierarchyLevel = {
        type: "integer",
        label: "Hierarchy Level",
        description: "Level of upper hierarchy level. From 1 to 9",
        max: 9,
      };
    }

    if (this.applicationCode === "coreHr" || this.applicationCode === "benefits") {
      props.fixedDueDate = {
        type: "string",
        label: "Fixed Due Date",
        description: "Fixed DueDate to complete task (YYYY-MM-DD)",
      };
    }

    if (this.applicationCode === "onboard" || this.applicationCode === "offboard") {
      props.relativeDueDate = {
        type: "string",
        label: "Relative Due Date",
        description: "Relative DueDate for StartDate or SeparationDate to complete task. Example: `{\"timeUnit\": \"Day\", \"direction\": \"After\", \"offset\": 10}`",
      };
    }

    return props;
  },
  async run({ $ }) {
    const response = await this.hrCloud.createTask({
      $,
      data: {
        taskType: "task",
        applicationCode: this.applicationCode,
        title: this.title,
        relatedToEmployeeIds: this.employeeIds,
        assigneeType: this.assigneeType,
        assignedEmployeeId: this.assignedEmployeeId,
        hierarchyLevel: this.hierarchyLevel,
        fixedDueDate: this.fixedDueDate,
        relativeDueDate: typeof this.relativeDueDate === "string"
          ? JSON.parse(this.relativeDueDate)
          : this.relativeDueDate,
      },
    });

    $.export("$summary", `Successfully created task \`${this.title}\``);
    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
HR CloudhrCloudappThis component uses the HR Cloud app.
Application CodeapplicationCodestringSelect a value from the drop down menu:coreHronboardbenefitsoffboard
Titletitlestring

The title of a task

Employee IDsemployeeIdsstring[]Select a value from the drop down menu.
Assignee TypeassigneeTypestringSelect a value from the drop down menu:EmployeeManagerManagersManagerHrAdminHrUserHrOperationItUserItOperationSpecificEmployeeHierarchy

Action Authentication

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

To retrieve your Consumer Key and Consumer Secret,

  • Navigate to your HR Cloud account and sign in
  • Go to “Settings” > “Service Accounts”
  • Copy your Consumer Key and Consumer Secret from the Service Account list
    Note: Make sure your Service Account status is set to active.

About HR Cloud

All-in-One HRIS: Employee Onboarding & Engagement

More Ways to Connect HR Cloud + TimeTonic

Create Task with HR Cloud API on New Table Row in View from TimeTonic API
TimeTonic + HR Cloud
 
Try it
Create Task with HR Cloud API on New Table Row from TimeTonic API
TimeTonic + HR Cloud
 
Try it
Create Task with HR Cloud API on Row Updated from TimeTonic API
TimeTonic + HR Cloud
 
Try it
Create Employee with HR Cloud API on New Table Row in View from TimeTonic API
TimeTonic + HR Cloud
 
Try it
Create Employee with HR Cloud API on New Table Row from TimeTonic API
TimeTonic + HR Cloud
 
Try it
New Table Row from the TimeTonic API

Emit new event when a new table row is added in TimeTonic

 
Try it
New Table Row in View from the TimeTonic API

Emit new event when a new table row appears in a specific view.

 
Try it
Row Deleted from the TimeTonic API

Emit new event when a row is deleted in a table.

 
Try it
Row Updated from the TimeTonic API

Emit new event when a row is updated in a table.

 
Try it
New Applicant Created from the HR Cloud API

Emit new event when a new applicant is created. See the documentation

 
Try it
Create Row with the TimeTonic API

Create a new row within an existing table in TimeTonic. See the documentation

 
Try it
Delete Row with the TimeTonic API

Deletes a row within an existing table in TimeTonic. See the documentation

 
Try it
Search Rows with the TimeTonic API

Perform a search across table rows based on given criteria. See the documentation

 
Try it
Update Row with the TimeTonic API

Updates the values within a specified row in a table. See the documentation

 
Try it
Create Employee with the HR Cloud API

Create a new employee record in the system. 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.