English
Copper
Finds or creates a person, opens a lead or an opportunity, adds a task and logs the exchange in Copper.
The Copper node finds a person by email, creates a person, a lead, an opportunity or a task, and logs the exchange as a note on a person, a lead, an opportunity or a company. Copper has no idempotency key: search before creating.
It works with a Copper connection. See Copper.
At a glance
- Type:
copper.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: Writes outside (
external_write) — writes outside Loop & Roll; described instead of performed during a test run - Needs a carrier email: No
- Connection: Copper
- Inputs:
main - Outputs:
main
Connection
This node needs a Copper connection.
Parameters
connection
Copper connection — The Copper connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
person.find - Options:
person.find— Find a person by emailperson.create— Create a personlead.create— Create a leadopportunity.create— Create an opportunitytask.create— Create a taskactivity.log— Log the exchange (note)
email
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 254 characters at most
- Example:
{{ email.from.address }} - Shown when:
actionis one ofperson.find,person.create,lead.create - Expressions:
{{ }}accepted
name
Name
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 255 characters at most
- Example:
{{ email.from.name }} - Shown when:
actionis one ofperson.create,lead.create,opportunity.create,task.create - Expressions:
{{ }}accepted
phone
Phone
- Type: Text (
string) - Required: No
- Default:
""(empty) - 64 characters at most
- Shown when:
actionis one ofperson.create,lead.create - Expressions:
{{ }}accepted
companyName
Company
- Type: Text (
string) - Required: No
- Default:
""(empty) - 255 characters at most
- Shown when:
actionislead.create - Expressions:
{{ }}accepted
personId
Primary contact (id) — Optional: the id returned by “Find a person”.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 32 characters at most
- Shown when:
actionisopportunity.create - Expressions:
{{ }}accepted
monetaryValue
Amount — Optional, a number.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 32 characters at most
- Shown when:
actionis one oflead.create,opportunity.create - Expressions:
{{ }}accepted
dueDate
Due date — Optional, in ISO 8601.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 40 characters at most
- Shown when:
actionistask.create - Expressions:
{{ }}accepted
parentType
Attach to
- Type: One choice (
options) - Required: No
- Default:
person - Options:
person— A personlead— A leadopportunity— An opportunitycompany— A company
- Shown when:
actionisactivity.log
parentId
Id
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 32 characters at most
- Shown when:
actionisactivity.log - Expressions:
{{ }}accepted
details
Details
- Type: Long text (
text) - Required: No
- Default:
""(empty) - 20000 characters at most
- Example:
{{ email.text }} - Shown when:
actionis one ofperson.create,lead.create,opportunity.create,task.create,activity.log - Expressions:
{{ }}accepted
Outputs
main— Taken once Copper has answered. Find a person also takes it when nobody has this address (found is then false).
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.found }}—boolean. Find a person: true when a person has this address.{{ data.<step>.personId }}—string. Find or create a person: the person’s id.{{ data.<step>.leadId }}—string. Create a lead: the lead’s id.{{ data.<step>.opportunityId }}—string. Create an opportunity: its id.{{ data.<step>.taskId }}—string. Create a task: its id.{{ data.<step>.simulated }}—boolean. true when the call was described instead of done (test run).{{ data.<step>.summary }}—string. The one-line summary in the member’s language.