← Freshdesk

Create a Company with Freshdesk API

Pipedream makes it easy to connect APIs for Freshdesk and 900+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Create a Company with the Freshdesk API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Create a Company with the Freshdesk API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Create a Company action
    1. Connect your Freshdesk account
    2. Configure Name
    3. Optional- Configure Description
    4. Optional- Configure Note
    5. Optional- Configure Industry
    6. Optional- Configure Domains
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Create a Company with Freshdesk API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Freshdesk
 
Try it
Create a Company with Freshdesk API on New Message from Discord API
Discord + Freshdesk
 
Try it
Create a Company with Freshdesk API on New Message In Channels from Slack API
Slack + Freshdesk
 
Try it
Create a Company with Freshdesk API on New Message in Channel from Discord Bot API
Discord Bot + Freshdesk
 
Try it
Create a Company with Freshdesk API on New Submission from Typeform API
Typeform + Freshdesk
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is 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.

Create a Company on Freshdesk
Description:Create a company. [See docs here](https://developers.freshdesk.com/api/#companies)
Version:0.0.1
Key:freshdesk-create-company

Code

import { removeNullEntries } from "../../common/utils.mjs";
import freshdesk from "../../freshdesk.app.mjs";

export default {
  key: "freshdesk-create-company",
  name: "Create a Company",
  description: "Create a company. [See docs here](https://developers.freshdesk.com/api/#companies)",
  version: "0.0.1",
  type: "action",
  props: {
    freshdesk,
    name: {
      type: "string",
      label: "Name",
      description: "Name of the company.",
    },
    description: {
      type: "string",
      label: "Description",
      description: "Description of the company.",
      optional: true,
    },
    note: {
      type: "string",
      label: "Note",
      description: "Any specific note about the company.",
      optional: true,
    },
    industry: {
      type: "string",
      label: "Industry",
      description: "The industry the company serves in.",
      optional: true,
    },
    domains: {
      type: "string[]",
      label: "Domains",
      description: "Domains of the company. Email addresses of contacts that contain this domain will be associated with that company automatically. e.g. [\"supernova\",\"nova\"]",
      optional: true,
    },
  },
  async run({ $ }) {
    const payload = removeNullEntries({
      name: this.name,
      domains: this.domains,
      note: this.note,
      industry: this.industry,
      description: this.description,
    });
    const response = await this.freshdesk.createCompany({
      $,
      payload,
    });
    response && $.export("$summary", "Company sucessfully created");
    return response;
  },
};

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
FreshdeskfreshdeskappThis component uses the Freshdesk app.
Namenamestring

Name of the company.

Descriptiondescriptionstring

Description of the company.

Notenotestring

Any specific note about the company.

Industryindustrystring

The industry the company serves in.

Domainsdomainsstring[]

Domains of the company. Email addresses of contacts that contain this domain will be associated with that company automatically. e.g. ["supernova","nova"]

Authentication

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

Your API key is in your Profile > Settings page, below the change password section on the right.
Your domain is 12345678 if your Freshdesk URL is https://12345678.freshdesk.com/

About Freshdesk

Customer support software

More Ways to Use Freshdesk

Triggers

New Contact from the Freshdesk API

Emit new notifications when a new contact is created

 
Try it
New Ticket from the Freshdesk API

Emit new notifications when a new ticket is created

 
Try it

Actions

Create a Contact with the Freshdesk API

Create a contact. See docs here

 
Try it
Create a Ticket with the Freshdesk API

Create a ticket. See docs here

 
Try it
Get Ticket Details with the Freshdesk API

Get a Ticket. See docs here

 
Try it
List All Tickets with the Freshdesk API

Use filters to view only specific tickets (those which match the criteria that you choose). By default, only tickets that have not been deleted or marked as spam will be returned, unless you use the 'deleted' filter.

 
Try it