← Twilio SendGrid + TalentHR integrations

Update Employee with TalentHR API on New Contact from Twilio SendGrid API

Pipedream makes it easy to connect APIs for TalentHR, Twilio SendGrid and 2,400+ other apps remarkably fast.

Trigger workflow on
New Contact from the Twilio SendGrid API
Next, do this
Update Employee with the TalentHR 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 Twilio SendGrid trigger and TalentHR 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 Contact trigger
    1. Connect your Twilio SendGrid account
    2. Configure timer
  3. Configure the Update Employee action
    1. Connect your TalentHR account
    2. Select a Employee ID
    3. Configure First Name
    4. Configure Last Name
    5. Configure Email
    6. Optional- Select a Reports To Employee Id
    7. Optional- Configure SSN
    8. Optional- Configure Birth Date
    9. Optional- Configure Personal Email
    10. Optional- Select a Marital Status
    11. Optional- Select a Gender
    12. Optional- Select a Nationality
    13. Optional- Select a Citizenship
    14. Optional- Configure Work Phone
    15. Optional- Configure Mobile Phone
    16. Optional- Configure Phone
    17. Optional- Configure Address
    18. Optional- Select a Country
    19. Optional- Configure Postal Code
    20. Optional- Configure City
    21. Optional- Configure Emergency Contact Name
    22. Optional- Select a Emergency Contact Relationship Type
    23. Optional- Configure Emergency Contact Phone
    24. Optional- Configure Emergency Contact Address
    25. Optional- Configure LinkedIn
    26. Optional- Configure Employee Number
    27. Optional- Configure Passport Number
    28. Optional- Configure Passport Issued Date
    29. Optional- Configure Passport Expiry Date
    30. Optional- Configure Passport Issue Country
    31. Optional- Configure Visa Type
    32. Optional- Configure Visa Number
    33. Optional- Configure Visa Expiry Date
    34. Optional- Configure Driver License Number
    35. Optional- Configure Driver License Issued Date
    36. Optional- Configure Driver License Expiry Date
    37. Optional- Configure Driver License Issue Country
    38. Optional- Configure Second Address
    39. Optional- Configure Second City
    40. Optional- Configure Second Postal Code
    41. Optional- Configure Second Country
    42. Optional- Configure Twitter
    43. Optional- Configure Facebook
    44. Optional- Configure Instagram
    45. Optional- Configure Pinterest
    46. Optional- Configure Github
    47. Optional- Configure Behance
    48. Optional- Configure Skype Name
    49. Optional- Configure Shirt Size
    50. Optional- Configure T-Shirt Size
    51. Optional- Select one or more HR Languages
    52. Optional- Configure HR Family
    53. Optional- Configure Allergies
  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 new contact is created
Version:0.0.6
Key:sendgrid-new-contact

Twilio SendGrid Overview

The Twilio SendGrid API opens up a world of possibilities for email automation, enabling you to send emails efficiently and track their performance. With this API, you can programmatically create and send personalized email campaigns, manage contacts, and parse inbound emails for data extraction. When you harness the power of Pipedream, you can connect SendGrid to hundreds of other apps to automate workflows, such as triggering email notifications based on specific actions, syncing email stats with your analytics, or handling incoming emails to create tasks or tickets.

Trigger Code

import orderBy from "lodash/orderBy.js";
import common from "../common/timer-based.mjs";

export default {
  ...common,
  key: "sendgrid-new-contact",
  name: "New Contact",
  description: "Emit new event when a new contact is created",
  version: "0.0.6",
  type: "source",
  dedupe: "unique",
  hooks: {
    async activate() {
      const currentTimestamp = Date.now();
      const state = {
        processedItems: [],
        lowerTimestamp: currentTimestamp,
        upperTimestamp: currentTimestamp,
      };
      this.db.set("state", state);
    },
  },
  methods: {
    ...common.methods,
    _maxDelayTime() {
      // There is no report from SendGrid as to how much time it takes
      // for a contact to be created and appear in search results, so
      // we're using a rough estimate of 30 minutes here.
      return 30 * 60 * 1000;  // 30 minutes, in milliseconds
    },
    _addDelayOffset(timestamp) {
      return timestamp - this._maxDelayTime();
    },
    _cleanupOldProcessedItems(processedItems, currentTimestamp) {
      return processedItems
        .map((item) => ({
          // We just need to keep track of the record ID and
          // its creation date.
          id: item.id,
          created_at: item.created_at,
        }))
        .filter((item) => {
          const { created_at: createdAt } = item;
          const createdAtTimestamp = Date.parse(createdAt);
          const cutoffTimestamp = this._addDelayOffset(currentTimestamp);
          return createdAtTimestamp > cutoffTimestamp;
        });
    },
    _makeSearchQuery(processedItems, lowerTimestamp, upperTimestamp) {
      const idList = processedItems
        .map((item) => item.id)
        .map((id) => `'${id}'`)
        .join(", ")
      || "''";
      const startTimestamp = this._addDelayOffset(lowerTimestamp);
      const startDate = this.toISOString(startTimestamp);
      const endDate = this.toISOString(upperTimestamp);
      return `
        contact_id NOT IN (${idList}) AND
        created_at BETWEEN
          TIMESTAMP '${startDate}' AND
          TIMESTAMP '${endDate}'
      `;
    },
    generateMeta(data) {
      const {
        item,
        eventTimestamp: ts,
      } = data;
      const {
        id,
        email,
      } = item;
      const slugifiedEmail = this.slugifyEmail(email);
      const summary = `New contact: ${slugifiedEmail}`;
      return {
        id,
        summary,
        ts,
      };
    },
    async processEvent(event) {
      // Transform the timer timestamp to milliseconds
      // to be consistent with how Javascript handles timestamps.
      const eventTimestamp = event.timestamp * 1000;

      // Retrieve the current state of the component.
      const {
        processedItems,
        lowerTimestamp,
        upperTimestamp,
      } = this.db.get("state");

      // Search for contacts within a specific timeframe, excluding
      // items that have already been processed.
      const query = this._makeSearchQuery(processedItems, lowerTimestamp, upperTimestamp);
      const {
        result: items,
        contact_count: contactCount,
      } = await this.sendgrid.searchContacts(query);

      // If no contacts have been retrieved via the API,
      // move the time window forward to possibly capture newer contacts.
      if (contactCount === 0) {
        const newState = {
          processedItems: this._cleanupOldProcessedItems(processedItems, lowerTimestamp),
          lowerTimestamp: upperTimestamp,
          upperTimestamp: eventTimestamp,
        };
        this.db.set("state", newState);
        return;
      }

      // We process the searched records from oldest to newest.
      const itemsToProcess = orderBy(items, "created_at");
      itemsToProcess
        .forEach((item) => {
          const meta = this.generateMeta({
            item,
            eventTimestamp,
          });
          this.$emit(item, meta);
        });

      // Use the timestamp of the last processed record as a lower bound for
      // following searches. This bound will be subjected to an offset so in
      // case older records appear in future search results, but have not
      // appeared until now, can be processed. We only adjust it if it means
      // moving forward, not backwards. Otherwise, we might start retrieving
      // older and older records indefinitely (and we're all about *new*
      // records!)
      const newLowerTimestamp = Math.max(
        lowerTimestamp,
        Date.parse(itemsToProcess[0].created_at),
      );

      // If the total contact count is less than 100, it means that during the
      // next iteration the search results count will most likely be less than
      // 50. In that case, if we extend the upper bound of the search time range
      // we might be able to retrieve more records.
      const newUpperTimestamp = contactCount < 100
        ? eventTimestamp
        : upperTimestamp;

      // The list of processed items can grow indefinitely.
      // Since we don't want to keep track of every processed record
      // ever, we need to clean up this list, removing any records
      // that are no longer relevant.
      const newProcessedItems = this._cleanupOldProcessedItems(
        [
          ...processedItems,
          ...itemsToProcess,
        ],
        newLowerTimestamp,
      );

      // Update the state of the component to reflect the computations
      // made above.
      const newState = {
        processedItems: newProcessedItems,
        lowerTimestamp: newLowerTimestamp,
        upperTimestamp: newUpperTimestamp,
      };
      this.db.set("state", newState);
    },
  },
};

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
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Twilio SendGridsendgridappThis component uses the Twilio SendGrid app.
timer$.interface.timer

Trigger Authentication

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

About 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.

Action

Description:Allows updating an existing employee's data in the system. [See the documentation](https://apidocs.talenthr.io/)
Version:0.0.1
Key:talenthr-update-employee

Action Code

import {
  CITIZENSHIP_OPTIONS,
  GENDER_OPTIONS,
  LANGUAGE_OPTIONS,
  MARITAL_STATUS_OPTIONS,
} from "../../common/constants.mjs";
import {
  clearObj,
  parseObject,
} from "../../common/utils.mjs";
import talenthr from "../../talenthr.app.mjs";

export default {
  key: "talenthr-update-employee",
  name: "Update Employee",
  description: "Allows updating an existing employee's data in the system. [See the documentation](https://apidocs.talenthr.io/)",
  version: "0.0.1",
  type: "action",
  props: {
    talenthr,
    employeeId: {
      propDefinition: [
        talenthr,
        "employeeId",
      ],
    },
    firstName: {
      propDefinition: [
        talenthr,
        "firstName",
      ],
    },
    lastName: {
      propDefinition: [
        talenthr,
        "lastName",
      ],
    },
    email: {
      propDefinition: [
        talenthr,
        "email",
      ],
    },
    reportsToEmployeeId: {
      propDefinition: [
        talenthr,
        "employeeId",
      ],
      label: "Reports To Employee Id",
      description: "If the **Reports To Employee Id** is 'null' then the current employee will be the head of the company.",
      optional: true,
    },

    ssn: {
      type: "string",
      label: "SSN",
      description: "The social security number of the employee",
      optional: true,
    },
    birthDate: {
      type: "string",
      label: "Birth Date",
      description: "The birth date must be formatted as 'YYYY-MM-DD' and must be between now and  1930-01-01.",
      optional: true,
    },
    personalEmail: {
      type: "string",
      label: "Personal Email",
      description: "The email has to be unique (among personal emails).",
      optional: true,
    },
    maritalStatus: {
      type: "string",
      label: "Marital Status",
      description: "The marital status of the employee",
      options: MARITAL_STATUS_OPTIONS,
      optional: true,
    },
    gender: {
      type: "string",
      label: "Gender",
      description: "The gender of the employee",
      options: GENDER_OPTIONS,
      optional: true,
    },
    nationality: {
      propDefinition: [
        talenthr,
        "nationality",
      ],
      optional: true,
    },
    citizenship: {
      type: "string",
      label: "Citizenship",
      description: "The citizenship of the employee",
      options: CITIZENSHIP_OPTIONS,
      optional: true,
    },
    workPhone: {
      type: "string",
      label: "Work Phone",
      description: "The phone number of the employee's work",
      optional: true,
    },
    mobilePhone: {
      type: "string",
      label: "Mobile Phone",
      description: "The mobile phone numbe of the employee",
      optional: true,
    },
    phone: {
      type: "string",
      label: "Phone",
      description: "The phone numbe of the employee",
      optional: true,
    },
    address: {
      propDefinition: [
        talenthr,
        "address",
      ],
      optional: true,
    },
    country: {
      propDefinition: [
        talenthr,
        "country",
      ],
      optional: true,
    },
    postalCode: {
      type: "string",
      label: "Postal Code",
      description: "The postal code where the employee lives",
      optional: true,
    },
    city: {
      type: "string",
      label: "City",
      description: "The city where the employee lives",
      optional: true,
    },
    emergencyContactFullName: {
      type: "string",
      label: "Emergency Contact Name",
      description: "The emergency contact's full name",
      optional: true,
    },
    emergencyContactRelationshipTypeId: {
      propDefinition: [
        talenthr,
        "emergencyContactRelationshipTypeId",
      ],
      optional: true,
    },
    emergencyContactPhone: {
      type: "string",
      label: "Emergency Contact Phone",
      description: "The emergency contact's phone number",
      optional: true,
    },
    emergencyContactAddress: {
      type: "string",
      label: "Emergency Contact Address",
      description: "The emergency contact's address",
      optional: true,
    },
    linkedInUrl: {
      type: "string",
      label: "LinkedIn",
      description: "The URL of the linkedIn",
      optional: true,
    },
    employeeNumber: {
      type: "string",
      label: "Employee Number",
      description: "An external number of the employee",
      optional: true,
    },
    passportNumber: {
      type: "string",
      label: "Passport Number",
      description: "The number of the employee's passport",
      optional: true,
    },
    passportIssuedDate: {
      type: "string",
      label: "Passport Issued Date",
      description: "The issued date of the employee's passport. **Format YYYY-MM-DD**",
      optional: true,
    },
    passportExpiryDate: {
      type: "string",
      label: "Passport Expiry Date",
      description: "The expiry date of the employee's passport. **Format YYYY-MM-DD**",
      optional: true,
    },
    passportIssuingCountry: {
      type: "string",
      label: "Passport Issue Country",
      description: "The issuing country of the employee's passport",
      optional: true,
    },
    visaType: {
      type: "string",
      label: "Visa Type",
      description: "The type of the employee's visa",
      optional: true,
    },
    visaNumber: {
      type: "string",
      label: "Visa Number",
      description: "The number of the employee's visa",
      optional: true,
    },
    visaExpiryDate: {
      type: "string",
      label: "Visa Expiry Date",
      description: "The expiry date of the employee's visa. **Format YYYY-MM-DD**",
      optional: true,
    },
    driverLicenseNumber: {
      type: "string",
      label: "Driver License Number",
      description: "The number of the employee's driver license",
      optional: true,
    },
    driverLicenseIssuedDate: {
      type: "string",
      label: "Driver License Issued Date",
      description: "The issued date of the employee's driver license. **Format YYYY-MM-DD**",
      optional: true,
    },
    driverLicenseExpiryDate: {
      type: "string",
      label: "Driver License Expiry Date",
      description: "The expiry date of the employee's driver license. **Format YYYY-MM-DD**",
      optional: true,
    },
    driverLicenseIssuingCountry: {
      type: "string",
      label: "Driver License Issue Country",
      description: "The issuing country of the employee's driver license",
      optional: true,
    },
    secAddress: {
      type: "string",
      label: "Second Address",
      description: "An employee's aditional address",
      optional: true,
    },
    secCity: {
      type: "string",
      label: "Second City",
      description: "An employee's aditional city",
      optional: true,
    },
    secPostalCode: {
      type: "string",
      label: "Second Postal Code",
      description: "An employee's aditional postal code",
      optional: true,
    },
    secCountry: {
      type: "string",
      label: "Second Country",
      description: "An employee's aditional country",
      optional: true,
    },
    twitterUrl: {
      type: "string",
      label: "Twitter",
      description: "The employee's twitter URL",
      optional: true,
    },
    facebookUrl: {
      type: "string",
      label: "Facebook",
      description: "The employee's facebook URL",
      optional: true,
    },
    instagramUrl: {
      type: "string",
      label: "Instagram",
      description: "The employee's instagram URL",
      optional: true,
    },
    pinterestUrl: {
      type: "string",
      label: "Pinterest",
      description: "The employee's pinterest URL",
      optional: true,
    },
    githubUrl: {
      type: "string",
      label: "Github",
      description: "The employee's github URL",
      optional: true,
    },
    behanceUrl: {
      type: "string",
      label: "Behance",
      description: "The employee's behance URL",
      optional: true,
    },
    skypeName: {
      type: "string",
      label: "Skype Name",
      description: "The employee's skype name",
      optional: true,
    },
    shirtSize: {
      type: "string",
      label: "Shirt Size",
      description: "The size of the shirt the employee wears",
      optional: true,
    },
    tShirtSize: {
      type: "string",
      label: "T-Shirt Size",
      description: "The size of the t-shirt the employee wears",
      optional: true,
    },
    hrLanguages: {
      type: "integer[]",
      label: "HR Languages",
      description: "A list of language ids",
      options: LANGUAGE_OPTIONS,
      optional: true,
    },
    hrFamily: {
      type: "string[]",
      label: "HR Family",
      description: "An array of family objects. Example: `{\"name\": \"Jhon Doe\", \"gender\": \"Male\", \"birth_date\": \"2001-10-10\", \"family_member_relationship_id\": \"1\" }`",
      optional: true,
    },
    allergies: {
      type: "string",
      label: "Allergies",
      description: "The employee's allegies",
      optional: true,
    },
  },
  async run({ $ }) {
    const response = await this.talenthr.updateEmployee({
      $,
      employeeId: this.employeeId,
      data: clearObj({
        first_name: this.firstName,
        last_name: this.lastName,
        email: this.email,
        ssn: this.ssn,
        birth_date: this.birthDate,
        personal_email: this.personalEmail,
        marital_status: this.maritalStatus,
        gender: this.gender,
        nationality: this.nationality,
        citizenship: this.citizenship,
        work_phone: this.workPhone,
        mobile_phone: this.mobilePhone,
        phone: this.phone,
        address: this.address,
        country: this.country,
        postal_code: this.postalCode,
        city: this.city,
        reports_to_employee_id: this.reportsToEmployeeId,
        emergency_contact: {
          full_name: this.emergencyContactFullName,
          relationship_type_id: this.emergencyContactRelationshipTypeId,
          phone: this.emergencyContactPhone,
          address: this.emergencyContactAddress,
        },
        linked_in_url: this.linkedInUrl,
        employee_number: this.employeeNumber,
        passport_number: this.passportNumber,
        passport_issued_date: this.passportIssuedDate,
        passport_expiry_date: this.passportExpiryDate,
        passport_issuing_country: this.passportIssuingCountry,
        visa_type: this.visaType,
        visa_number: this.visaNumber,
        visa_expiry_date: this.visaExpiryDate,
        driver_license_number: this.driverLicenseNumber,
        driver_license_issued_date: this.driverLicenseIssuedDate,
        driver_license_expiry_date: this.driverLicenseExpiryDate,
        driver_license_issuing_country: this.driverLicenseIssuingCountry,
        sec_address: this.secAddress,
        sec_city: this.secCity,
        sec_postal_code: this.secPostalCode,
        sec_country: this.secCountry,
        twitter_url: this.twitterUrl,
        facebook_url: this.facebookUrl,
        instagram_url: this.instagramUrl,
        pinterest_url: this.pinterestUrl,
        github_url: this.githubUrl,
        behance_url: this.behanceUrl,
        skype_name: this.skypeName,
        shirt_size: this.shirtSize,
        t_shirt_size: this.tShirtSize,
        hr_languages: parseObject(this.hrLanguages),
        hr_family: parseObject(this.hrFamily),
        allergies: this.allergies,
      }),
    });

    $.export("$summary", `Successfully updated employee ID ${this.employeeId}`);
    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
TalentHRtalenthrappThis component uses the TalentHR app.
Employee IDemployeeIdstringSelect a value from the drop down menu.
First NamefirstNamestring

The first name of the new employee

Last NamelastNamestring

The last name of the new employee

Emailemailstring

The email address of the new employee

Reports To Employee IdreportsToEmployeeIdstringSelect a value from the drop down menu.
SSNssnstring

The social security number of the employee

Birth DatebirthDatestring

The birth date must be formatted as 'YYYY-MM-DD' and must be between now and 1930-01-01.

Personal EmailpersonalEmailstring

The email has to be unique (among personal emails).

Marital StatusmaritalStatusstringSelect a value from the drop down menu:SingleSeparatedMarriedWidowed
GendergenderstringSelect a value from the drop down menu:MaleFemaleNon-binary
NationalitynationalitystringSelect a value from the drop down menu.
CitizenshipcitizenshipstringSelect a value from the drop down menu:AfghanAlbanianAlgerianAmericanAndorranAngolanAntiguansArgentineanArmenianAustralianAustrianAzerbaijaniBahamianBahrainiBangladeshiBarbadianBarbudansBatswanaBelarusianBelgianBelizeanBenineseBhutaneseBolivianBosnianBrazilianBritishBruneianBulgarianBurkinabeBurmeseBurundianCambodianCameroonianCanadianCape VerdeanCentral AfricanChadianChileanChineseColombianComoranCongoleseCosta RicanCroatianCubanCypriotCzechDanishDjiboutiDominicanDutchEast TimoreseEcuadoreanEgyptianEmirianEquatorial GuineanEritreanEstonianEthiopianFijianFilipinoFinnishFrenchGaboneseGambianGeorgianGermanGhanaianGreekGrenadianGuatemalanGuinea-BissauanGuineanGuyaneseHaitianHerzegovinianHonduranHungarianI-KiribatiIcelanderIndianIndonesianIranianIraqiIrishIsraeliItalianIvorianJamaicanJapaneseJordanianKazakhstaniKenyanKittian and NevisianKuwaitiKyrgyzLaotianLatvianLebaneseLiberianLibyanLiechtensteinerLithuanianLuxembourgerMalagasyMalawianMalaysianMaldivanMalianMalteseMarshalleseMauritanianMauritianMexicanMicronesianMoldovanMonacanMongolianMoroccanMosothoMotswanaMozambicanNamibianNauruanNepaleseNew ZealanderNicaraguanNigerianNigerienNorth KoreanNorth MacedonianNorthern IrishNorwegianOmaniPakistaniPalauanPalestinianPanamanianPapua New GuineanParaguayanPeruvianPolishPortugueseQatariRomanianRussianRwandanSaint LucianSalvadoranSamoanSan MarineseSao TomeanSaudiScottishSenegaleseSerbianSeychelloisSierra LeoneanSingaporeanSlovakianSlovenianSolomon IslanderSomaliSouth AfricanSouth KoreanSpanishSri LankanSudaneseSurinamerSwaziSwedishSwissSyrianTaiwaneseTajikTanzanianThaiTogoleseTonganTrinidadian/TobagonianTunisianTurkishTuvaluanUgandanUkrainianUruguayanUzbekistaniVenezuelanVietnameseWelshYemeniteZambianZimbabwean
Work PhoneworkPhonestring

The phone number of the employee's work

Mobile PhonemobilePhonestring

The mobile phone numbe of the employee

Phonephonestring

The phone numbe of the employee

Addressaddressstring

The address where the meeting will take place. Required if Who Id and When Time is present.

CountrycountrystringSelect a value from the drop down menu.
Postal CodepostalCodestring

The postal code where the employee lives

Citycitystring

The city where the employee lives

Emergency Contact NameemergencyContactFullNamestring

The emergency contact's full name

Emergency Contact Relationship TypeemergencyContactRelationshipTypeIdstringSelect a value from the drop down menu.
Emergency Contact PhoneemergencyContactPhonestring

The emergency contact's phone number

Emergency Contact AddressemergencyContactAddressstring

The emergency contact's address

LinkedInlinkedInUrlstring

The URL of the linkedIn

Employee NumberemployeeNumberstring

An external number of the employee

Passport NumberpassportNumberstring

The number of the employee's passport

Passport Issued DatepassportIssuedDatestring

The issued date of the employee's passport. Format YYYY-MM-DD

Passport Expiry DatepassportExpiryDatestring

The expiry date of the employee's passport. Format YYYY-MM-DD

Passport Issue CountrypassportIssuingCountrystring

The issuing country of the employee's passport

Visa TypevisaTypestring

The type of the employee's visa

Visa NumbervisaNumberstring

The number of the employee's visa

Visa Expiry DatevisaExpiryDatestring

The expiry date of the employee's visa. Format YYYY-MM-DD

Driver License NumberdriverLicenseNumberstring

The number of the employee's driver license

Driver License Issued DatedriverLicenseIssuedDatestring

The issued date of the employee's driver license. Format YYYY-MM-DD

Driver License Expiry DatedriverLicenseExpiryDatestring

The expiry date of the employee's driver license. Format YYYY-MM-DD

Driver License Issue CountrydriverLicenseIssuingCountrystring

The issuing country of the employee's driver license

Second AddresssecAddressstring

An employee's aditional address

Second CitysecCitystring

An employee's aditional city

Second Postal CodesecPostalCodestring

An employee's aditional postal code

Second CountrysecCountrystring

An employee's aditional country

TwittertwitterUrlstring

The employee's twitter URL

FacebookfacebookUrlstring

The employee's facebook URL

InstagraminstagramUrlstring

The employee's instagram URL

PinterestpinterestUrlstring

The employee's pinterest URL

GithubgithubUrlstring

The employee's github URL

BehancebehanceUrlstring

The employee's behance URL

Skype NameskypeNamestring

The employee's skype name

Shirt SizeshirtSizestring

The size of the shirt the employee wears

T-Shirt SizetShirtSizestring

The size of the t-shirt the employee wears

HR LanguageshrLanguagesinteger[]Select a value from the drop down menu:{ "label": "Akan", "value": 123 }{ "label": "Amharic", "value": 50 }{ "label": "Arabic", "value": 22 }{ "label": "Arabic, Algerian", "value": 60 }{ "label": "Arabic, Egyptian", "value": 42 }{ "label": "Arabic, Moroccan", "value": 77 }{ "label": "Arabic, Najdi", "value": 101 }{ "label": "Arabic, Saidi", "value": 78 }{ "label": "Arabic, Sanaani", "value": 116 }{ "label": "Arabic, Sudanese", "value": 58 }{ "label": "Arabic, Tunisian", "value": 105 }{ "label": "Assamese", "value": 86 }{ "label": "Awadhi", "value": 74 }{ "label": "Azerbaijani, North", "value": 119 }{ "label": "Azerbaijani, South", "value": 68 }{ "label": "Belarusan", "value": 99 }{ "label": "Bengali", "value": 23 }{ "label": "Bhojpuri", "value": 51 }{ "label": "Bulgarian", "value": 108 }{ "label": "Burmese", "value": 57 }{ "label": "Cebuano", "value": 84 }{ "label": "Chhattisgarhi", "value": 96 }{ "label": "Chinese, Gan", "value": 73 }{ "label": "Chinese, Hakka", "value": 56 }{ "label": "Chinese, Jin", "value": 54 }{ "label": "Chinese, Mandarin", "value": 19 }{ "label": "Chinese, Min Bei", "value": 98 }{ "label": "Chinese, Min Nan", "value": 53 }{ "label": "Chinese, Wu", "value": 38 }{ "label": "Chinese, Xiang", "value": 63 }{ "label": "Chinese, Yue", "value": 35 }{ "label": "Chittagonian", "value": 88 }{ "label": "Croatian", "value": 72 }{ "label": "Czech", "value": 93 }{ "label": "Deccan", "value": 97 }{ "label": "Dutch", "value": 75 }{ "label": "English", "value": 17 }{ "label": "Farsi", "value": 69 }{ "label": "Farsi, Eastern", "value": 122 }{ "label": "French", "value": 21 }{ "label": "German", "value": 28 }{ "label": "Greek", "value": 94 }{ "label": "Gujarati", "value": 48 }{ "label": "Haitian Creole French", "value": 118 }{ "label": "Haryanvi", "value": 91 }{ "label": "Hausa", "value": 41 }{ "label": "Hiligaynon", "value": 124 }{ "label": "Hindi", "value": 20 }{ "label": "Hungarian", "value": 87 }{ "label": "Igbo", "value": 81 }{ "label": "Ilocano", "value": 114 }{ "label": "Indonesian", "value": 27 }{ "label": "Iranian Persian", "value": 40 }{ "label": "Italian", "value": 45 }{ "label": "Japanese", "value": 29 }{ "label": "Javanese", "value": 44 }{ "label": "Kannada", "value": 47 }{ "label": "Kazakh", "value": 113 }{ "label": "Khmer, Central", "value": 121 }{ "label": "Korean", "value": 39 }{ "label": "Kurmanji", "value": 125 }{ "label": "Lingala", "value": 61 }{ "label": "Lombard", "value": 110 }{ "label": "Madura", "value": 89 }{ "label": "Magahi", "value": 95 }{ "label": "Maithili", "value": 70 }{ "label": "Malagasy", "value": 104 }{ "label": "Malay", "value": 80 }{ "label": "Malayalam", "value": 64 }{ "label": "Marathi", "value": 31 }{ "label": "Marwari", "value": 92 }{ "label": "Napoletano-Calabrese", "value": 120 }{ "label": "Nepali", "value": 82 }{ "label": "Nigerian", "value": 30 }{ "label": "Oriya", "value": 65 }{ "label": "Oromo, West-Central", "value": 111 }{ "label": "Pashto, Northern", "value": 102 }{ "label": "Pashto, Southern", "value": 112 }{ "label": "Polish", "value": 59 }{ "label": "Portuguese", "value": 25 }{ "label": "Punjabi, Eastern", "value": 52 }{ "label": "Punjabi, Western", "value": 46 }{ "label": "Romanian", "value": 67 }{ "label": "Russian", "value": 24 }{ "label": "Rwanda", "value": 106 }{ "label": "Saraiki", "value": 83 }{ "label": "Serbian", "value": 71 }{ "label": "Shonda", "value": 126 }{ "label": "Sindhi", "value": 76 }{ "label": "Sinhala", "value": 90 }{ "label": "Somali", "value": 103 }{ "label": "Spanish", "value": 18 }{ "label": "Sunda", "value": 66 }{ "label": "Swahili", "value": 43 }{ "label": "Swedish", "value": 109 }{ "label": "Tagalog", "value": 37 }{ "label": "Tamil", "value": 34 }{ "label": "Tatar", "value": 115 }{ "label": "Telugu", "value": 32 }{ "label": "Thai", "value": 49 }{ "label": "Thai, Northeastern", "value": 85 }{ "label": "Turkish", "value": 33 }{ "label": "Ukrainian", "value": 62 }{ "label": "Urdu", "value": 26 }{ "label": "Uyghur", "value": 117 }{ "label": "Uzbek, Northern", "value": 79 }{ "label": "Vietnamese", "value": 36 }{ "label": "Yoruba", "value": 55 }{ "label": "Zhuang, Northern", "value": 100 }{ "label": "Zulu", "value": 107 }
HR FamilyhrFamilystring[]

An array of family objects. Example: {"name": "Jhon Doe", "gender": "Male", "birth_date": "2001-10-10", "family_member_relationship_id": "1" }

Allergiesallergiesstring

The employee's allegies

Action Authentication

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

About TalentHR

A simple, all-in-one HR software focused on people.

More Ways to Connect TalentHR + Twilio SendGrid

Create Employee with TalentHR API on New Events (Instant) from Twilio SendGrid API
Twilio SendGrid + TalentHR
 
Try it
Create Employee with TalentHR API on New Contact from Twilio SendGrid API
Twilio SendGrid + TalentHR
 
Try it
Respond to Time Off Request with TalentHR API on New Events (Instant) from Twilio SendGrid API
Twilio SendGrid + TalentHR
 
Try it
Respond to Time Off Request with TalentHR API on New Contact from Twilio SendGrid API
Twilio SendGrid + TalentHR
 
Try it
Update Employee with TalentHR API on New Events (Instant) from Twilio SendGrid API
Twilio SendGrid + TalentHR
 
Try it
New Contact from the Twilio SendGrid API

Emit new event when a new contact is created

 
Try it
New Events (Instant) from the Twilio SendGrid API

Emit new event when any of the specified SendGrid events is received

 
Try it
New Employee Created from the TalentHR API

Emit new event whenever a new employee is created. See the documentation

 
Try it
New Job Application Submitted from the TalentHR API

Emit new event when a new job application is submitted. See the documentation

 
Try it
Add Email to Global Suppression with the Twilio SendGrid API

Allows you to add one or more email addresses to the global suppressions group. See the docs here

 
Try it
Add or Update Contact with the Twilio SendGrid API

Adds or updates a contact. See the docs here

 
Try it
Create Contact List with the Twilio SendGrid API

Allows you to create a new contact list. See the docs here

 
Try it
Delete Blocks with the Twilio SendGrid API

Allows you to delete all email addresses on your blocks list. See the docs here

 
Try it
Delete Bounces with the Twilio SendGrid API

Allows you to delete all emails on your bounces list. See the docs here

 
Try it

Explore Other Apps

1
-
24
of
2,400+
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.
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.
Premium
Salesforce
Salesforce
Web services API for interacting with Salesforce
Premium
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Premium
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Premium
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
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.
Premium
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Premium
Snowflake
Snowflake
A data warehouse built for the cloud
Premium
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
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.
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.
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.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.