Services Plugins FAQs

Modern Rich Text Editor: Making workflows based on Mentions

I am struggling with how to make workflows based on mentions.

The List of Mentions in the plugin works correclty, and lists the mentions. I am using the ID field and the data are correct there.

The Mentions I corresponds to a user. Since the plugin only shows ID as a text value, I need to lookup that ID to get the user. Since one Rich Text could have multiple mentions, I need to runa backend workflow to iterate the text based ID and store the user value.

I push the following data to the backend workflow:


So the only data I am really using is the Mention list and the thing to which the mentions are attached (in this case a Comment) so that I can store that value for use in another workflow as a list of users.

In the backend workflow:


all I am doing is converting the text to a user:

I do this by building a list of users in the Comment, sotred as a list of users.

The search for users is looking up the user by unique ID. I saw some JSON in there, so I added a regex filter \d{32}… not sure if that is needed or not.

So when I run this, the userIDList is blank… so it is not accepting the list of mentions from the plugin for some reason…

I feel like there is a silly mistake in here somewhere or a better way to do this-- please help if you have any ideas.

Thanks

Hello @TekaTeki,

Thank you for reaching out to us.

From your messages, I understand that you want to extract specific user data based on a unique ID. Is my understanding correct?

To achieve this, you can set a constraint to select the desired user and display their data.

Please note that while we can assist with general advice and fix any glitches, as Zeroqode support, we cannot build app logic or handle specific use cases.

Thank you for your understanding. If you have any other questions, please let us know.

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Thanks for your response. Yes, I got that bit. My question is why when I iterate the list of mentions, the data of mentions are blank. In your example, it assumes there is only one mention… I am adding the ability to handle multiple mentions, for which I have to use a backend workflow, but when I put the data from mentions into the backend workflow, (userIDList) they don’t get recognised. So my question is whether anyone has had any success in iterating a mention list for a workflow.

Hello @TekaTeki ,

Thank you for your message.

The “List of mentions” state will provide you with the IDs of the mentions from the rich text element, the state will be a “List of texts”. If you want to display the users afterward, you can simply apply a constraint to retrieve only the ones you need.

As an example, I have set up a test page for you. Please try to add or remove mentions in the RTE element and observe how the Repeating Group displays them.
Test page: Texteditordemo | Bubble Editor

I hope this proves helpful to you. If you have any other questions, please let me know.

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Thanks again for your attention to this. My question is not about the List of Mention state itself… that all works fine. My problem is using that list of mentions data anywhere else and if there is a reason that I cannot set a parameter in a backend workflow, which is also list of text, to the List of mention list of text for IDs… It seems simple but there is something not working, so I am asking if there is anything in the list of mentions for formatting that would prevent it from being used as a list of text in a parameter for a backend workflow…

1 Like

Hello @TekaTeki ,

Thanks for your message.

As you already saw, the state “list of mentions” is working fine as you already confirmed and saw in the previous message, and it is set to return a Bubble’s “List of texts” format. The plugin is not and cannot modify the formatting. You can even try to first save it in a state and then use that state to observe that the result remains the same for you.

Please understand that while we can provide general advice and fix any glitches, we at Zeroqode support cannot build app logic or specific use-cases.

Thanks for your understanding. If you have any other questions, please let us know.

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

For any future readers: this problem was my own stupidity: I made a backendworkflow to get the users from all the user IDs, which seemed to mess up the workflow (I still don’t know why)… all I had to do was search for users with IDs in the list of IDs from the plugin… then I ran my notification backendworkflow on that.

1 Like

Hello @TekaTeki ,

Thank you for your message and for keeping us updated.

It’s great to hear that you identified the cause behind the malfunction and that everything is now functioning well.

Feel free to reach out to us again if you have any questions or inquiries regarding our plugins. :pray:

Thanks again, and have a great day ahead! :dizzy:

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3