Add party
BetaChanges data
Adds a counterparty — a company or a person — to a Oneflow contract.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Oneflow connection the step signs in with. |
| Contract idRequired | The contract's Oneflow id — a number. |
| Party type | "company" or "individual" |
| Company name | text |
| Participants | The people at this company who will receive the contract. |
| Company registration number | text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `oneflow`) |
contractId | text |
type | "company" or "individual", by default "company" |
name | textused when `type` is "company" |
participants | list of {name?: text, email?: text, deliveryChannel?: "email" or "sms" or "email_and_sms" or "same_device" or "none" or "unknown"}, by default [] |
identificationNumber | text |
Output
| Field | Type |
|---|---|
party | object |
party.id | number |
Sample output, and the expression for each field
- party
- id1
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>",
"contractId": "<contract id>",
"identificationNumber": "",
"name": "",
"participants": [],
"type": "company"
},
"label": "Add party",
"type": "oneflow.addParty",
"version": 1
}