Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ZjCYiq9M1TLEr711JazQgn
Power Automate - General Discussion
Unanswered

Sharepoint List to Excel Spreadsheet to Mailchimp - Date Formatting

Like (0) ShareShare
ReportReport
Posted on 26 Jul 2019 13:57:28 by 6

Hi,

 

I have been having trouble connecting a flow that when a new item is created in a Sahrepoint List, this updates all fields in Mailchimp. At the moment, flow only allows you to add a new subscriber in Mailchimp for First Name, Last Name and Email Address. I have found a solution using both flow and other automation tool.

 

Flow connects the Sharepoint List and adds a new row onto a table in Excel Online (Business) in One Drive. The other automation tool then links the excel table to Mailchimp and when a new row is created from the original flow in the table it then adds a new subscriber to Mailchimp with all related fields.

 

The problem is the format in the Sharepoint list for DOB is DD/MM/YYYY 00:00 which is pulled through to the Excel Online spreadsheet using Flow. However the other automation tool fails and said that the date format needs to be MM/DD. Does anyone know if there is any way in Flow that an action can be created to adjust the format of this field so that when it pulls it through to Excel it can be in the format required?

 

Ive tried to explain best I can. I am also a new user so please forgive me if im wrong.

 

Thanks

Natalie

  • merlynproton Profile Picture
    2 on 16 Dec 2020 at 10:39:18
    Re: Sharepoint List to Excel Spreadsheet to Mailchimp - Date Formatting

    Hello

     

    I was going through this entire thread to understand the issue. Did you try an integration tool like Automate.io? I am using it at this moment, and I have my Mailchimp connected to my excel sheet to pull all Mailchimp data directly into my excel sheet. In my Mailchimp, I have the DOB format for my subscriber date which is pulled into my excel as it is. Whenever a new subscriber is added to my Mailchimp, a new row is automatically created in my excel sheet along with all the details about that subscriber. I haven't faced any issue with the formatting till now. I also use Sharepoint which is connected to my Mailchimp and excel in this same workflow. I think this can be an easy alternative. Hope I have understood your problem right and have helped. Let me know if it works. 

  • v-yamao-msft Profile Picture
    on 31 Jul 2019 at 07:45:09
    Re: Sharepoint List to Excel Spreadsheet to Mailchimp - Date Formatting

    Hi @Natalie_b06 ,

     

    The error message says that the provided value is of type Null. Please make sure DOB in the SharePoint list does have value.

     

    Further, please modify you function into:

    formatDateTime(triggerBody()?[‘DOB’],’MM/dd/yyyy’)

     

    I have made the following test according to the screenshot, which is working successfully.

     

    The function I am using in the Start field is:

    formatDateTime(triggerBody()?['StartDate'],'MM/DD/YYYY')

     

    An image for your reference

    1.PNG2.PNG

     

    Best regards,

    Mabel         

     

  • Natalie_b06 Profile Picture
    6 on 29 Jul 2019 at 11:31:07
    Re: Sharepoint List to Excel Spreadsheet to Mailchimp - Date Formatting

    Ive added 

    format DateTime(triggerBody()?['DOB'],'MM/DD/YY')
    into the DOB field and ran the flow and it is failing (see below):
    Untitled-2.jpg
  • Natalie_b06 Profile Picture
    6 on 29 Jul 2019 at 09:09:31
    Re: Sharepoint List to Excel Spreadsheet to Mailchimp - Date Formatting

    Hi Mabel,

     

    Here is a screenshot. It is the 'DOB' field that needs formatting to 'MM/DD' im not familar with expressions yet. Would I put the formatDateTime function in the DOB field?

     

    Thanks

     

    Untitled-1.jpg

  • v-yamao-msft Profile Picture
    on 29 Jul 2019 at 03:17:50
    Re: Sharepoint List to Excel Spreadsheet to Mailchimp - Date Formatting

    Hi @Natalie_b06 ,

     

    Could you share a screenshot on your current flow?

     

    If you want the date time formatted to be ‘MM/DD’, please just insert a formatDateTime function in the datetime field.

     

    Please check the following doc on the formatDateTime function for more details:

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#formatDateTime

     

    Best regards,

    Mabel       

       

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard