Copy of submitted form to respondent

Hi all, for the form Im developing, I need a way for the respondent to keep a copy of their submitted data.

I see that ODK collect allows this through an Android Intent by setting a calculate field type with concat(“mailto:”, ${email}, “?subject=”, “Thanks for participating!&body=”, ${message}) and an integer type with the appearance: ex:android.intent.action.SENDTO(uri_data=${email_to}). This is shown here:

However, I am developing a web form (xlsform) running on kobo… this doesnt work because obviously its not on an android device. Is there a way to make a submission send a copy to the respondents email address with Kobo?

Alternatively, I through the respondent could ‘print’ their form, but this doesnt work when I embed with an iframe into the NGO website because the iframe has scrolling and responses get cuttoff.

Any advise on how to deal with this functionality requirement is much appreciated (including creative workarounds)
Roger

Hi Wroos, unfortunately I dont think that helps any because
a) the forms are collected through the web browser (not on android device) and
b) not deleting them on a device would not help anyway to automatically send the respondent a copy of their responses.

Other thoughts are welcome! Please correct me if I misunderstood your thinking.
best, Roger

Sorry for responding after 6 months - I discovered this thread through https://github.com/kobotoolbox/kpi/issues/2459

In theory a creative workaround could be done using http://support.kobotoolbox.org/en/articles/592398-api-and-rest-services#rest-services and some service that is able to send emails (I think https://sendgrid.com/docs/for-developers/sending-email/api-getting-started/ could do it)

1 Like

If one needs a completely self-hosted email HTTP API, one can build on https://github.com/postalhq/postal/

1 Like

Hi @yala,

Thank you for sharing! It should benefit the entire community! Hope you would share interesting and useful features to the community in the upcoming days as well!

Have a great day!

Setting up a distributed API pipeline just to send an email, while some SMTP configuration is already in place, seems ridiculously complicated for low volumes of messages.

Let’s follow up the general feature request for email confirmations in

and continue here with a PoC to demonstrate to send those messages via an HTTP API.

I suspect there might have to be an intermediary service/function that converts the Webhook JSON into a fully fledged email message by filling a template, before sending it out.

2 Likes

Hello-
Is there any updates on this feature? I am interested to do something like this but wondering if there is a less complicated/lengthy way. Just want to send an automated message that the form has been submitted and received.

Hi @bl_jo_datamgmt might be worth referring to this other post if you have access to MS Flow:

2 Likes