We currently have a question in some of our forms that asks if you'd like to receive further communications from our team (so that we can send them a bi-monthly e-newsletter). At the moment we are updating our spreadsheet manually by opening up all our active custom forms submission logs and adding in emails of those who have ticked yes.
I know that you can send a separate email when that question has been answered "yes" but I am wondering if there is a way of pulling multiple forms or whether I need to have a submission action or trigger on that question that sends the submission to a database?
I am running Matrix v5.0.3.0.
Any help or guidance would be greatly appreciated.
We currently have a question in some of our forms that asks if you'd like to receive further communications from our team (so that we can send them a bi-monthly e-newsletter). At the moment we are updating our spreadsheet manually by opening up all our active custom forms submission logs and adding in emails of those who have ticked yes.
I know that you can send a separate email when that question has been answered "yes" but I am wondering if there is a way of pulling multiple forms or whether I need to have a submission action or trigger on that question that sends the submission to a database?
I am running Matrix v5.0.3.0.
Any help or guidance would be greatly appreciated.
Regards,
Drew
If you're just dealing with a database then you could use the 'run database query' action to insert the subscriber details.
Personally I've used the 'call REST resource' functionality to add subscribers to our mailchimp database through their API.
Alternatively you could also just use an asset listing to format your submission logs as a csv that matches your existing spreadsheet format so you could just paste them across into your existing one.
Thanks for jumping in, I didn't think to try using an asset listing to format my submission logs but I will do some research and testing on your suggestions and get back to you if I have any further questions or if I can get it working.
Hopefully Im understanding your issue correctly. Theres a pretty cute way you can achieve this using standard grouping keywords:
Make sure you have custom grouping selected as the listing format in your asset listing or it wont work correctly regardless of how much you config it
Under the custom grouping menu item for the listing, group at the top level by parent asset. Restrict by folder, direct parent only, sort by whatever variables you want and then save
Edit the group format screen - Theres a neat keyword modifier you can use to get the name and asset ID of the actual form not the submission folder, due to the standard way matrix creates forms. %parent_assetid^subtract:2^as_asset:asset_name% <- This will give you the parent (the submission folder) subtracted by 2 IDs (the form ID) and then return it as the name. If you just want the ID you can use: %parent_assetid^subtract:2%
Hopefully that answers your question for grouping and I havent misunderstood what you were trying to achieve.