APIs & Integrations

EBHamer
Member

Proper use of unenrollment settings

I am attempting to creat a workflow through the API.  I want this workflow to kick contacts out of some other workflows.  I have experimented with the "unenrollmentSetting" section but I can not get it to work. 

 

If I want my new workflow to remove contacts from my workflow with id 10 and my workflow with id 15, what would my "enrollmentSetting" section of the JSON look like?

 

Thanks,

 

Eric Hamer

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee
HubSpot Employee

Proper use of unenrollment settings

Hey @EBHamer , 

 

Could you try something like this:

 

unenrollmentSetting:{
type:"SELECTIVE",
excludedWorkflows:[10 ]},

10 is the workflow that you specific on 'Remove them from specific workflows'.

0 Upvotes