Open pastorhudson opened 5 years ago
We can use https://api.planningcenteronline.com/people/v2/forms/1745/subscriptions to get PCO ID of people who get notifications for form submissions.
https://api.planningcenteronline.com/people/v2/forms/1745/subscriptions
Then use https://people.planningcenteronline.com/forms/' + FORM_ID + '/submissions/export.csv to check for new submissions
https://people.planningcenteronline.com/forms/' + FORM_ID + '/submissions/export.csv
And finally send DM if there are new submissions including the submission content and a link to the submission.
We can use
https://api.planningcenteronline.com/people/v2/forms/1745/subscriptions
to get PCO ID of people who get notifications for form submissions.Then use
https://people.planningcenteronline.com/forms/' + FORM_ID + '/submissions/export.csv
to check for new submissionsAnd finally send DM if there are new submissions including the submission content and a link to the submission.