English
folk
Creates or updates folk people in a group, finds or creates a company, adds a note or a task.
The folk node files an email sender in your folk CRM: it creates or updates the person (by address) and adds them to a group, finds or creates their company, attaches a note or a reminder task. See folk.
At a glance
- Type:
folk.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: folk
- Inputs:
main - Outputs:
main
Connection
This node needs a folk connection.
Parameters
connection
folk connection — The folk 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.upsert - Options:
person.upsert— Create or update a person: By email address; the chosen group is added to theirs.person.find— Find a personcompany.create— Find or create a companynote.create— Add a notetask.create— Create a task
email
Email address
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 320 characters at most
- Example:
{{ email.from.email }} - Shown when:
actionis one ofperson.upsert,person.find - Expressions:
{{ }}accepted
firstName
First name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionisperson.upsert - Expressions:
{{ }}accepted
lastName
Last name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionisperson.upsert - Expressions:
{{ }}accepted
jobTitle
Job title
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionisperson.upsert - Expressions:
{{ }}accepted
group
Group — Optional: the person is added to it, without leaving their other groups.
- Type: Remote resource (
resourceLocator) - Required: No
- Ways to choose: pick from a list, type an ID (
folk.group) - Listed with the connection in:
connection - Shown when:
actionisperson.upsert
companyName
Company name
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 300 characters at most
- Shown when:
actioniscompany.create - Expressions:
{{ }}accepted
entityId
Person or company — The folk ID (per_… or com_…) an earlier step returns.
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 80 characters at most
- Example:
{{ data.folk.personId }} - Shown when:
actionis one ofnote.create,task.create - Expressions:
{{ }}accepted
content
Text — The note (Markdown accepted) or the task description.
- Type: Long text (
text) - Required: No
- Default:
""(empty) - 100000 characters at most
- Shown when:
actionis one ofnote.create,task.create - Expressions:
{{ }}accepted
visibility
Visibility
- Type: One choice (
options) - Required: No
- Default:
public - Options:
public— Whole workspaceprivate— Private
- Shown when:
actionisnote.create
title
Task title
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 255 characters at most
- Shown when:
actionistask.create - Expressions:
{{ }}accepted
dueDate
Due date — YYYY-MM-DD (or an ISO 8601 instant, of which only the date is kept). Empty = today.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 40 characters at most
- Shown when:
actionistask.create - Expressions:
{{ }}accepted
assignee
Assigned to — A folk user’s address. Empty = the key’s owner.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 320 characters at most
- Shown when:
actionistask.create - Expressions:
{{ }}accepted
Outputs
main— Taken once the folk call succeeds. An error response from folk fails the step instead.
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>.personId }}—string. Person actions: its folk ID (per_…), to pass to Add a note or Create a task.{{ data.<step>.created }}—boolean. Create or update a person: true when it was created.{{ data.<step>.found }}—boolean. Find a person: true when a person has that address.{{ data.<step>.person }}—object. The person as folk returns it.{{ data.<step>.companyId }}—string. Find or create a company: its ID (com_…).{{ data.<step>.noteId }}—string. Add a note: the note ID.{{ data.<step>.taskId }}—string. Create a task: the task ID.{{ data.<step>.simulated }}—boolean. true when the write was described instead of done (test run).{{ data.<step>.summary }}—string. The one-line summary in the member’s language.
Operations
- Create or update a person (
person.upsert): looks up by address; updates First name, Last name, Job title; Group is added to their groups without removing the others. - Find a person (
person.find). - Find or create a company (
company.create): folk returns the existing company when the name is taken. - Add a note (
note.create, Markdown, public or private) and Create a task (task.create, Due date as a date, Assigned to by address) on a Person or company (per_…/com_…).
Tips
- Test runs. The search runs for real; writes are described.
- Rate. 20 requests per 2 seconds, shared by all keys of the same folk user.
- Errors.
integration.rejected: unknown ID, refused property. See Error handling.