How to validate user subscription plans in Make and control daily job posting limits in Webflow? Answered
Really struggling with this one! So here's my intended workflow...
Added a last job posted custom field...
When a user posts a job check if user is a Scout+ (The unlimited posting plan) member if so they can post and no further checks need to be made.
If not then check when last job posted was, if this = today don't allow them to post and display a modal in webflow to upgrade (not sure if this is actually possible)
The bit I am stuck on is checking which plan the current user is on. I have it set as follows... Wait for the webhook, get user posting to webhook from webflow, then get corresponding member from memberstack where Ids are equal... But when I try to see which plans they are on it just shows a number 1 so I can't filter to send them down the right path.
How do I get their plan using make?
Is it possible to hide or replace the post job button if they have already posted today? Or Show a modal when they click the post button?


Comments
6 comments
you could use the length function to know how many items are in “Plan Connections”
I'll tyr this but any idea how I can filter by plan name? or plan ID/
you are going to need an iterator to see what is inside the [1]
Okay I have the iterator to break out the content of the arrays. I have a free plan and a paid plan and I want to see if the user is on the paid plan go down this path if it's on the free plan go down this path.
The issue is, as I understand it my paid users will be have the free plan and the paid plan attached to they memberstack profile. So using the iterator on them will basically send them down one path and then as it iterates on the next broken out array iterate on that one too. How do I avoid this duplication?
Hey Phil Nind, in that case where you want to view the plans linked as a whole for each member and decide the path, you can use map function to explore the plan collections and filter it based on the parameter that you want
Cheers A J where do you find the map function? I can't seem to locate it in make at all 🤯
Please sign in to leave a comment.