Create Affiliate

tapfiliate.create_affiliate
ActionCRM & salesconnection required

Calls the Tapfiliate API with the connection's credentials.

Create an affiliate account from a name and an email address, so a signup elsewhere becomes an affiliate without anyone retyping it.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Tapfiliate
Secret shape
the API key, or {"api_key": "…"}
Config it needs
program_id
Resolved by
config.connection_id, else node.connection_id

Configuration

4 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
firstname
The affiliate's first name.
stringYes——Jane
lastname
The affiliate's last name.
stringYes——Jameson
email
The email address the affiliate will sign in with; it must be unique on the account.
stringYes—email formatjane@example.com
company
The affiliate's company name, when they sign up as a business.
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "email": "jane@example.com",
  "firstname": "Jane",
  "lastname": "Jameson"
}

Output

One shape.

result

FieldTypeExample
id
The affiliate's slug, which every other node uses as its id.
string—
firstname
The affiliate's first name.
string—
lastname
The affiliate's last name.
string—
email
The email address the affiliate signs in with.
string—
company
The affiliate's company name, empty when none was given.
string—
country
Two-letter country code on the affiliate's profile.
string—
status
The affiliate's account status, such as active.
string—
created_at
ISO-8601 timestamp of when the affiliate was created.
string—
meta_data
The custom key/value metadata stored on the affiliate.
object—
{
  "company": "",
  "country": "",
  "created_at": "",
  "email": "",
  "firstname": "",
  "id": "",
  "lastname": "",
  "meta_data": {},
  "status": ""
}

See Create Affiliate run in a workflow.

In a technical demo we add the Tapfiliate connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.