Retrieving a member’s current plan Answered

Post author
Mariana Marini

Hi everyone! Has anyone tried to retrieve a member’s current plan via make.com? I can’t figure it out. I tried using a “get member” Memberstack module, and then used an array aggregator to pull the plans and permissions but got an empty array, and the member has a plan. Thanks for any ideas!

Comments

4 comments

  • Comment author
    A J

    Hey Mariana Marini, ideally when you use a Get Member module of Memberstack in Make, you should see the highlighted portion shown in the screenshot if the member has a plan.

    But in case the output of the Get Member module does not show such info, can you check if the connection you have is updated that is if the member is in test mode, you are using the test mode API key and in case the member is in live mode, the connection in make is using live mode API keys?

    If the connection is up-to-date but you are still not seeing plans output similar to the below screenshot, can you show the output of the Get Member module that you are seeing for the member who has an active plan?

    0
  • Comment author
    Mariana Marini

    AJ, I think I figured it out! I needed to use a “get member” from Webflow first, then use the get member for memberstack because I wasn’t passing the member ID on the form. 😊

    I now have to figure out how to extract all active plans from the array. Do you know which modules I could use?

    My goal is to not allow the scenario to go through unless the member has an active subscription plan or has credits available. I can pull the credits from the metadata, but the active subscription is in an array and I’m not very proficient in mapping or extracting items in an array.
     
    Thank you!
    0
  • Comment author
    A J

    Okay so is there a specific condition, like only Plan A can pass through or is it enough if the member has any active plan? If it's the latter you can just set a filter condition to see if planId exists in the Get Member module and allow the scenario to go through. Let me know if you need something more specific as well.

    0
  • Comment author
    Mariana Marini

    Yes, my members can have multiple plans, and I’m only looking for members who have one specific plan in active status.

    The challenge is that the array has indexed collections. I assume the indexes change based on the order of the client’s subscription and/or changes of plans if they update them.

    AJ! I figured it out! I mapped the array by active plans and I got it!!! Thank you 😃

    0

Please sign in to leave a comment.