Add Affiliate To Program

tapfiliate.add_affiliate_to_program
ActionCRM & salesconnection required

Calls the Tapfiliate API with the connection's credentials.

Enrol an existing affiliate in one of the account's programs.

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

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

FieldTypeRequiredDefaultConstraintsExample
affiliate_id
The affiliate to act on, as the slug Tapfiliate assigned it.
stringYes——janejameson
program_id
Affiliate program to act in; overrides the connection's default program.
stringNo——johns-affiliate-program

Example configuration

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

{
  "affiliate_id": "janejameson",
  "program_id": "johns-affiliate-program"
}

Output

One shape.

result

FieldTypeExample
program_id
The program the affiliate was added to.
string—
affiliate_id
The affiliate that was enrolled.
string—
{
  "affiliate_id": "",
  "program_id": ""
}

See Add Affiliate To Program 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.