How to add timestamps to Webflow form submissions in a Memberstack dashboard without overwriting existing JSON data? Answered
Hi,
I am trying to build a dashboard in Webflow with Memberstack as back-end, I've used Make.com so far to connect everything that I need to use.
In the user dashboard they can submit certain form's to ultimately store that specific data in Airtable connected to their unique Memberstack ID.
Underneath the forms I've build a list that prints the submission history successfully in real-time with Javascript. So far it only prints the given Title from the form submission, but now I am trying to add a date to this.
But I can't figure out how to update the Memberstack JSON without it completely replacing everything it had ever stored. Since I cannot seem to pull the submission date & time directly from the Webflow form I sadly have to do it via Make.com I think.
Would like to hear your ideas about this. If it is possible to pull the submission date & time directly from the Webflow form by adding some custom HTML in the form of a hidden input that would also solve my issue. But so far I haven't find anything that worked.
Looking forward to responses. Thanks in forward!
If you have any questions about the project or something that would give more insight to find a possible solution, feel free to ask.
Comments
2 comments
Hey Salland SEO
To achieve your goal, start by retrieving the existing JSON data. Once you have it, you can either add new information or modify existing details as needed. After making these changes, ensure that you update the JSON by replacing the old version with this newly modified one, which includes all your updates and additions. This approach will ensure that your JSON data is both current and comprehensive.
Hi Josh thanks for your reply. That was what I thought too at first. But via Make.com I cannot find a way to retrieve the existing JSON data so that I can update it the right way.
This is the way I receive the JSON:
In JSON it looks a bit like this:
{
"projects": {
"project-1702918054800": {
"project-name": "Here some kind of title"
},
"project-1702923834938": {
"project-name": "15 Beste Formule 1 coureurs allertijden en waarom zij zo goed zijn"
}
}
}
And what I am trying to do is add something to the same project. I already found a way to extract the project number 'project-{project number}'.
But I am trying to add 'due-date' right under the 'project-name' within the right projectnumber.
When I try to add the extra code I receive this error:
Any ideas how to fix this? Thanks in forward.
Please sign in to leave a comment.