Add profiles to Subscription list by default | Community
Skip to main content
Saurabh_G
Level 2
April 4, 2023
Solved

Add profiles to Subscription list by default

  • April 4, 2023
  • 2 replies
  • 1839 views

Hi Team,

 

Can you please help me to subscribe profile by default to particular service while inserting data from Mailchimp?

 

It is urgent. Request all to please reply to ASAP.

 

Thanks,

Saurabh

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SatheeskannaK

Hi @satheeskannak 

 

Thanks for your reply. 

I have created journey and tried to update  consents.marketing.email.subscriptions field in AJO Consent Service schema but subscription field in disabled.

I also added Consent and Preferences details field group in my custom schema  and then tried to inserted data in consents.marketing.email.subscriptions field but getting error as Subscrition field is of Map type.

 

Thanks,

Saurabh (8826031921)


@saurabh_g,

 

I see that the subscription field is Map datatype. In this case, I believe you will have to use flow service API to see if that works as it supports JSON, and Parquet file formats to align with XDM supported format.

https://experienceleague.adobe.com/docs/experience-platform/xdm/data-types/marketing-field-subscriptions.html?lang=en#subscriptions

https://experienceleague.adobe.com/docs/experience-platform/sources/api-tutorials/create/marketing-automation/mailchimp-members.html?lang=en

2 replies

Level 2
April 11, 2023

Is there no expert who can answer above question

SatheeskannaK
Community Advisor
Community Advisor
April 12, 2023

Hi @saurabh__g @saurabh_g,

 

I don't know whether you can directly add users to the subscription list in AJO while importing data from MailChimp. Try to see if this works,

  • I assume you're using MailChimp connector. While importing the data from MailChimp, see if you can setup the source field (Maybe use a calculated field to setup some string during the mapping process) and map to the AJO schema custom field. Create a subscription in AJO. Once you have the data on the custom field in AJO use Journey with Update profile activity to set the subscription for the profile. If you look at the profile subscription field looks like below, 

    consents.marketing.email.subscriptions.get("MailChimpSubscribers").val = "y"

Thanks, Sathees
Saurabh_G
Saurabh_GAuthor
Level 2
April 13, 2023

Hi @satheeskannak 

 

Thanks for your reply. 

I have created journey and tried to update  consents.marketing.email.subscriptions field in AJO Consent Service schema but subscription field in disabled.

I also added Consent and Preferences details field group in my custom schema  and then tried to inserted data in consents.marketing.email.subscriptions field but getting error as Subscrition field is of Map type.

 

Thanks,

Saurabh (8826031921)

Sukrity_Wadhwa
Community Manager
Community Manager
July 24, 2023

Hi @saurabh_g,

Were you able to resolve this query with the given solution? Do let us know.

Thanks!

Sukrity Wadhwa