Sending data from user to another

Hi,

I wanted to ask how to send data from one user to another in a pop-up. Do I have to use the backend workflow to construct that function or can I use the regular workflow to build that?

I do not want to make it with the repeating group section due to the layout. So, I have constructed the two pages identical to each other and created action to where any inputs are saved to the data base, but I don’t know how to send the data to the other user from one page to another within the pop-up element.

Any support or guidance would be appreciated.

Hey @angelicaprater2001 :waving_hand:

Without knowing too much about what you are doing, it is difficult to assist. I will try my best. :sweat_smile:

To share data with other users, you really need to save something into the database, not ‘send data’ to a different page or anything like that. Once it is saved in the database, just display the same data to the other user.

So if I create a database type called - shared data. This is what the database could look like:

Shared Data

  • sharedWith - List of users
  • content - text

There will probably be other fields besides this, but this is just to make the point. Also, you will need to setup privacy rules properly so only they can see the data.

How will you share it to the other user? Will they have a list to look at? Like a message list?

Will they send the data via email so then they click on a link and it shows the specific data that way to them once they click on the link?

Maybe share a video or some screenshots of your process so we can understand better what you are missing would be good. :blush:

Hope that helps a bit.

Here are a few screenshots. I created a form that allows the initiating user to input the necessary information — such as the amount and a message. Once submitted, it is sent as a pop-up to the corresponding user, and vice versa. It works similarly to sending a text message, but my version would connect to transactions down the road. So, I’m aiming to build a controlled biding environment to prevent users from feeling overwhelmed or making mistakes when giving or receiving counter bid offers and making decisions. It would not be an email I would like it to be all in app. Would I have to involve backend or can I just use the workflow



How will you get the popup to show up on the other users screen? Will you be using a field in the database to trigger it to show the popup? Something like, ‘Do when a condition is true’ workflow on the frontend?

Looking at what you have, to make it work I would use a general workflow “on page load” to search for Rebuttals that Receiver = Current User, with the next action being “Show data in a popup” although this would only show one item, what if there were more?

I think a better way would be to introduce a “Message” data type that can be linked to a sender User and a receiver User and even have a status from a “Message Status” option set. This way when you are displaying a Users page, like a profile page you can display the sent/unread ones from their message list and link this into an offer or rebuttal too if necessary.