FlowmageDocs

Create company

BetaChanges data

Adds a client company to Carerix.

Settings

SettingWhat it is
ConnectionRequiredThe Carerix connection the step signs in with.
Company nametext
Short nameWhat Carerix shows in narrow lists.
Streettext
House numbertext
Postal codetext
Citytext
Phone numbertext
E-mail addresstext
Websitetext
Chamber of Commerce numberThe Dutch KvK number.
Debtor numberThe number your accounting package knows this client by.
Owner idThe Carerix user who owns the relationship. The List users node answers one.
Other fieldsAny other CRCompanyRequest field, by name — docs.carerix.io/graphql has the full list. Dates are yyyy-MM-dd HH:mm:ss in Amsterdam time, and a list value is set by its code with a _lookup.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `carerix`)
nametext
shortNametext
visitStreettext
visitNumbertext
visitPostalCodetext
visitCitytext
phoneNumbertext
emailAddresstext
urltext
kvkNumbertext
debtorNumbertext
ownerUserIdtext
extraFieldsobject (any keys), by default {}

Output

FieldType
companyIdNew company idstring
companyobject
Sample output, and the expression for each field
  • company
    • _id"31"
    • _kind"CRCompany"
    • name"Acme"
  • companyId"31"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "debtorNumber": "",
    "emailAddress": "",
    "extraFields": {},
    "kvkNumber": "",
    "name": "",
    "ownerUserId": "",
    "phoneNumber": "",
    "shortName": "",
    "url": "",
    "visitCity": "",
    "visitNumber": "",
    "visitPostalCode": "",
    "visitStreet": ""
  },
  "label": "Create company",
  "type": "carerix.createCompany",
  "version": 1
}