library
turbot/sendgrid
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDefaultDescription
emailstringYes-The contact's primary email. This is required to be a valid email.
citystringNo-The contact's city.
countrystringNo-The contact's country. Can be a full name or an abbreviation.
first_namestringNo-The contact's personal name.
last_namestringNo-The contact's family name.
postal_codestringNo-The contact's ZIP code or other postal code.
state_province_regionstringNo-The contact's state, province, or region.
credstringYesdefaultName for credentials to use. If not provided, the default credentials will be used.

Outputs

NameDescription
job_idIndicates that the contacts are queued for processing.