You can now trigger no-code workflows on page load!
Also new in WeWeb:
You can now setup global workflows that you can re-use throughout your application.
In the example below, we created a global workflow to let users upvote a feature:
Instead of setting up 3 upvote workflows on 2 pages, we created 1 workflow that we can trigger anywhere we want in the app.
This has 2 main benefits:
1- it saves us a lot of time, and
2- it allows us to organize all our API calls in one place.
This last point is critical when you build large projects that require complex workflows.
The more complex your app, the more room for error and need for efficient debugging.
That's why you need an API management center where you can edit a workflow in one place, knowing that it will update every instance of that workflow in the app.
Just as you would write functions in code to handle repetitive tasks, you'll want to use global workflows in no-code to handle repetitive user interactions.
In WeWeb, you can now trigger workflows on page load.
Go to the page's settings > "Trigger workflows"
You'll notice there are two types of triggers:
Examples of workflows you could trigger on page load:
You might use this trigger when the data you load on the page depends on the current user's information.
For example, you might want to display news items that the user has not yet read or load only the data that matches the user's role in the organization.
Also new this week: you can now add workflows that trigger on all the pages of your WeWeb app.
This type of workflow can be used to adapt the app based on a user's role.
Go to the app settings > "Trigger workflows"
In addition to workflows, the team at WeWeb has been working on a new multiple select element.
In the element's style, you can change the:
In the element's settings, you can:
You can then send the input values to a backend or use these values to filter a collection as shown at the end of this tutorial:
We released a new map element that is much easier to use.
You can now intuitively:
In addition to these 4 big changes – global workflows, workflows on page, multi-select, and map – the team deployed a number of smaller improvements and bug fixes 👇
Ok then, that's it for now.
Have a great week! 😀