Extending the profile resource with a new field
About extending profiles
This use case details how to extend a profile and a test profile with a dedicated field.
Here, we want to update our profiles with the new field using a landing page then target profiles with a newsletter specific to their interests.
To do so, follow the steps below:
The following field will then be added to our profiles and can be targeted in a delivery:
Related topics:
Step 1: Extend the profile resource
To create the new Interest field for our profiles, you first need to extend the out-of-the-box Profiles (profile) resource.
-
From the advanced menu, via the Adobe Campaign logo, select Administration > Development, then Custom resources.
-
If you have not extended the Profiles resource yet, click Create.
-
Choose the Extend an existing resource option.
-
Select the Profile (profile) resource.
-
Click Create.
-
In the Fields category of the Data structure tab, click Create element.
note note NOTE Note that if you already extended the Profile resource for previous purposes, you can start at this step by clicking Add field. -
Add a Label and an ID. Select the Text type and click Add.
-
To configure your field, in the Data structure tab under the Fields drop-down, click then from your previously created field.
-
In this example we want to add specific values, to do so click Specify a list of authorized values.
-
Click Add an element then add as many value as needed by adding a Label and an ID and clicking Add.
In this example, create the Books, Exhibitions, Movies and N/A values for profiles to choose between these options.
-
To add this field in the Profile screen, click the Screen definition tab.
-
In the Detail screen configuration drop-down, click Add a personalized fields section and click Create element.
-
Select a Type. Here we want to add an input field. Then, select your previously created field and click Add.
-
To add a separator to better organize your profile window, click Create an element and select Separator from the Type drop-down.
Your field is now configured. We now need to extend it to the test profile.
Step 2: Extend the test profile
To test if the new created field is correctly configured, you can test it by sending your delivery to your test profiles. First, the new field also needs to be carried out to the test profiles.
-
From the advanced menu, via the Adobe Campaign logo, select Administration > Development, then Custom resources.
-
If you have not extended the Profiles resource yet, click Create.
-
Choose the Extend an existing resource option.
-
Select the Test profile (seedMember) resource.
-
Click Create.
-
In the Data structure tab, click Create element.
-
Select your previously created resource field and click Add.
-
Carry out the same steps from step 11 to 13 as the extend profile walkthrough above to add this field in the Test profile screen.
-
Click Save.
Both profiles and test profiles will now have your new field available. For it to be correctly configured, you need to publish your custom resource.
Step 3: Publish your custom resource
To apply the changes carried out on the resources and be able to use it, you must perform a database update.
-
From the advanced menu, select Administration > Development, then Publishing.
-
By default, the option Determine modifications since the last publication is checked, which means that only the changes carried out since the last update will be applied.
-
Click Prepare publication to start the analysis which will update your database.
-
Once the publication has been carried out, click the Publish button to apply your new configurations.
-
Once published, the Summary pane of each resource indicates that the status is now Published and specifies the date of the last publication.
-
Select the Profiles tab and click New to see if your changes have been correctly implemented.
Your new resource field is now ready to be used and targeted in a delivery for example.
Step 4: Update and target profiles with a workflow
To update profiles with data for the new custom field, you can create a landing page using the Profile acquisition template. For more information on landing pages, refer to this page.
Here, we want to target in a workflow profiles that didn’t fill this field. They will receive an email asking them to update their profiles to receive personalized newsletters and offers. Each profile will then receive a personalized newsletter depending on their chosen interests.
First, we need to create a landing page that will update the Interest fields of the targeted profiles:
-
From the Marketing activities, click Create then select Landing page.
-
Select a landing page type. Here, since we want to update our profiles, select Profile acquisition.
-
Click Create.
-
Click the Content block to start editing the content of your landing page.
-
Customize your landing page as needed.
-
Click the field configured for your profiles to choose between the selection of Interests. In the left pane, select your previously created Interest custom resource.
-
Save your landing page and test it to check that your fields are correctly configured.
-
Click Publish when your landing page is ready.
Your landing page is now ready. To update the profiles, you can create a workflow that will then send a special offer depending on the chosen Interest.
-
From the Marketing activities tab, click Create then select Workflow.
-
Drag and drop a Query activity to target the profiles or audiences you need.
-
Drag and drop an Email delivery activity to start configuring your email which will contain a link to the landing page. Select the Add an outbound transition with the population.
-
Create and design your email as needed. For more information on email personalization, refer to this page.
-
Add a button to your email that will redirect profiles to your landing page.
-
Select the added button and click in the Link section in the left pane.
-
In the Insert link window, select Landing page from the Link type drop-down then select the previously created landing page.
-
Click Save. Your email is now ready, you can come back to your workflow.
-
Add a Wait activity to let some time for your profiles to fill the landing page.
-
Add a Segmentation activity to split the outbound transition depending on their Interests.
-
Create an outbound segment for each Interest.
-
Add an Email delivery activity after each transition and create a personalized email depending on the chosen Interest.
-
Start the workflow when the configuration is done.
Profiles will now receive the email asking them to fill out this Interest field followed by a personalized email depending on the chosen value.