Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow and Forms #805

Open
Spartachetto opened this issue Feb 25, 2021 · 5 comments
Open

Flow and Forms #805

Spartachetto opened this issue Feb 25, 2021 · 5 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request
Milestone

Comments

@Spartachetto
Copy link

Spartachetto commented Feb 25, 2021

reading the issues #790 and #789, I thought that it would be interesting to make a further step and integrate Forms with Flow.

There are a lot of possible conditions and actions that could be of interest, like for example:

  • when someone answered a form (then send a Talk message to user x)
  • when someone sends this message to the group y then answer with the csv file of the answers
  • when someone answered a form then send to that user a message (email, whatever, ...) thanking for the feedback

and so on...

An hypothesis of schema

conditions

  • When someone create a form
  • When someone answers a form
  • When someone answers the form x
  • When someone shares a form

actions

  • then share the form x with the user
  • then send the files with the answers of the form x to the user y (via email, sharing the file, ...)
  • then update an analytics report

I put only the actions specific to the Forms app, it is clear that all the other actions would be usable.

@Spartachetto Spartachetto added 0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request labels Feb 25, 2021
@jotoeri jotoeri added this to the 3.0 milestone Mar 15, 2021
@jotoeri jotoeri added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Mar 15, 2021
@susnux
Copy link
Collaborator

susnux commented Mar 16, 2023

As I have a use case for this, I started looking into it (see my branch), this will require quite a lot of work:

  • Nextcloud events for form creation / modification / removal, submissions
  • Workflow entities mapping those Nextcloud events
  • Custom workflow checks to filter those entities
  • (optional) some actions like sending an email

@gotjoshua
Copy link

@susnux

I started looking into it,

me too! and i started a repo where i will try to create a flow from forms to deck.

However, I am a bit unsure how to proceed:

  1. never hacked on a nextcloud plugin before = D
  2. none of the flow specific events are being emitted
  3. hoping that i can listen for this activity thingy

is this a reasonable idea?
any help?

@BarBaar44
Copy link

Yes! Very much support this!

I have an intake form for new clients. I would like to create a new user based on the information in the intake form. It would be a super simple flow:

  1. Share unique link to form with a potential client
  2. The client fills out the form and submits
  3. NextCloud creates a user account (etc) based on the input of the form (username == e-mail address)

@tatrapikao
Copy link

this would be brilliant! There are multiple usecases coming to mind. Would it be possible to check a specific question and send e.g. talk messages to different accounts based on the answer maybe with the content of one or different answers of the same form?

@Rello

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants