ByteChef LogoByteChef
Components

Affinity

Affinity is a customer relationship management (CRM) platform that leverages relationship intelligence to help businesses strengthen connections and drive engagement with client and prospects.

Categories: CRM

Type: affinity/v1


Connections

Version: 1

Bearer Token

Properties

NameLabelTypeDescriptionRequired
tokenTokenSTRINGtrue

Actions

Create Opportunity

Name: createOpportunity

Creates a new opportunity.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGThe name of the opportunity.true

Example JSON Structure

{
  "label" : "Create Opportunity",
  "name" : "createOpportunity",
  "parameters" : {
    "name" : ""
  },
  "type" : "affinity/v1/createOpportunity"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGThe ID of the newly created opportunity.
nameSTRINGThe name of the newly created opportunity.

Output Example

{
  "id" : "",
  "name" : ""
}

Create Organization

Name: createOrganization

Creates a new organization.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGThe name of the organization.true
domainDomainSTRINGThe domain name of the organization.false

Example JSON Structure

{
  "label" : "Create Organization",
  "name" : "createOrganization",
  "parameters" : {
    "name" : "",
    "domain" : ""
  },
  "type" : "affinity/v1/createOrganization"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGThe ID of the organization.
nameSTRINGThe name of the organization.
domainSTRINGThe domain name of the organization.

Output Example

{
  "id" : "",
  "name" : "",
  "domain" : ""
}

Create Person

Name: createPerson

Creates a new person.

Properties

NameLabelTypeDescriptionRequired
first_nameFirst NameSTRINGThe first name of the person.true
last_nameLast NameSTRINGThe last name of the person.true
emailsEmailsARRAY
Items [STRING]
The email addresses of the person.false

Example JSON Structure

{
  "label" : "Create Person",
  "name" : "createPerson",
  "parameters" : {
    "first_name" : "",
    "last_name" : "",
    "emails" : [ "" ]
  },
  "type" : "affinity/v1/createPerson"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGThe ID of the person.
first_nameSTRINGThe first name of the person.
last_nameSTRINGThe last name of the person.
emailsARRAY
Items [STRING]
The email addresses of the person.

Output Example

{
  "id" : "",
  "first_name" : "",
  "last_name" : "",
  "emails" : [ "" ]
}

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.