You may wish to create a Workflow Rule or run code in the After section of a Blueprint transition that creates a Client Portal Record (with all the Client Portal Items from your chosen Template).
The below script will use a ZE Portal built-in function to create a DEAL Portal Record:
// CHANGE THE VALUES DENOTED BY ##:
Template_ID = ##YOUR-CHOSEN-TEMPLATE-RECORD-ID##; // This should be the record ID of the Template Record - This is an integer, so should NOT be surrounded by inverted commas
Deal_ID = ##YOUR-CHOSEN-DEAL-RECORD-ID##; // This should be the record ID of the Deal Record - This is an integer, so should NOT be surrounded by inverted commas
Portal_Person_Lookup_Field_API_Name = "##Deal_Contact_Lead_or_Vendor_Lookup_Field_API_Name##"; // This should be set to the Person Lookup Field API Name from the Deal Record (for example "Contact_Name"); - MUST be surrounded by inverted commas
Portal_Person_ID = ##YOUR-CHOSEN-PORTAL-PERSON-RECORD-ID##; // This should be the record ID of the Contact, Lead, or Vendor Record linked to the above Deal Record - This is an integer, so should NOT be surrounded by inverted commas
Person_Type = // "##SET-PERSON-TYPE-HERE##"; // "Contact" OR "Vendor" OR "Lead" - Must match the Record Type of the Record ID above - Must be surrounded by inverted commas
The below script will use a ZE Portal built-in function to create a Contact, Lead, or Vendor Portal Record:
// CHANGE THE VALUES DENOTED BY ##:
Template_ID = ##YOUR-CHOSEN-TEMPLATE-RECORD-ID##; // This should be the Record ID of the Template Record - This is an integer, so should NOT be surrounded by inverted commas
Person_Type = // "##SET-PERSON-TYPE-HERE##"; // "Contact" OR "Vendor" OR "Lead" - Must be surrounded by inverted commas
Portal_Person_ID = ##YOUR-CHOSEN-PORTAL-PERSON-RECORD-ID##; // This should be the Record ID of the Contact, Lead, or Vendor Record you want to create this Portal for - This is an integer, so should NOT be surrounded by inverted commas