<< Return to help center
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

CreatePipeline Function Definition

The CreatePipeline function is used to attach a new pipeline to a contact or company in your CRM.

When calling this this function, the Function parameter sent to the API should be set to CreatePipeline.

If successful, this function will return an array with a PipelineItemId.

Parameters

ContactId - The Id of the contact or company you want to attach this pipeline to. *Note: ContactId should be treated like a string, NOT an integer or any other number type.*

Note (optional) - A note to include with the first update.

PipelineId - The Id of the pipeline type you want to create. Here are instructions for finding the correct PipelineId. *Note: PipelineId should be treated like a string, NOT an integer or any other number type.*

StatusId - The Id of the status for this pipeline. Here are instructions for finding the correct StatusId. *Note: StatusId should be treated like a string, NOT an integer or any other number type.*

Priority (optional) - Priority can be 1 (low), 2 (medium), or 3 (high)

CustomFields - You can save information to any custom pipeline fields you've created.

Example Code

This code shows how to attach a new pipeline to a contact or company.

CODE: https://gist.github.com/tilikang/b6a7dbc36c193b201649dcdee0e5e9b5.js

Next up:
Keywords:
API, function, CreatePipeline
How do I can you are you able to can I how to is it possible