library
turbot/sendgrid
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Add or Update Contact

Allows the upsert (insert or update) of contacts.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run sendgrid.pipeline.add_or_update_contact \
--arg 'email=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = sendgrid.pipeline.add_or_update_contact
args = {
email = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.sendgrid
YesName of SendGrid connection to use. If not provided, the default SendGrid connection will be used.connection.sendgrid.default
email
string
YesThe contact's primary email. This is required to be a valid email.-
city
string
NoThe contact's city.-
country
string
NoThe contact's country. Can be a full name or an abbreviation.-
first_name
string
NoThe contact's personal name.-
last_name
string
NoThe contact's family name.-
postal_code
string
NoThe contact's ZIP code or other postal code.-
state_province_region
string
NoThe contact's state, province, or region.-

Outputs

NameDescription
job_idIndicates that the contacts are queued for processing.

Tags

recommended = true