How to automatically delete inactive user accounts days using scalable solutions? Answered

Post author
Hamza Nasim

Is there a way to automatically delete the accounts of the users who have not been active for n number of days or something?

Comments

8 comments

  • Comment author
    Julian Galluzzo

    You can delete members using make.com but you would need to make some sort of custom flow - possible but slightly complex

    0
  • Comment author
    William de Broucker

    yes you can do it using a data store in make (I’ve got a flow like that)

    https://www.loom.com/share/201fef934d494ec4ba30464ebfaf7307

    0
  • Comment author
    John Ramos

    If a member is deleted, any connected comments are deleted as well, correct?

    0
  • Comment author
    A J

    Hey John Ramos, yes, just tested this. Once a user is deleted all independent comments and replies gets deleted as well.

    0
  • Comment author
    John Ramos

    Nice! Thanks for testing this AJ, much appreciated.

    0
  • Comment author
    Micheal Obiora

    Hello everyone, I hope you are doing okay.

    Raquel Lopez can you please assist me on this - We have over 22k members and we want to delete inactive members (120 days old or more). How can we do that, I have tried to filter through last log in, but that option is not there. Scrolling through the users to delete them one after the other will not be feasible. Is there a better way to do this?

    0
  • Comment author
    A J

    Hey Micheal Obiora, would you be open to explore solutions like Make / Zapier for this use-case?

    I can see when I list all members / retrieve any member specifically, there is a 'Last login' date in the member's data (as shown in screenshot). You could have a workflow to have a filter which checks if the last login day is earlier than 120 days from now, and then delete such member via the automated workflow. You will have to batch the workflow to run for all members, as there might be certain limit on number of members you can retrieve at one time, or you could store the CSV of members in a database and link it to the workflow to check for all members, any which way you can for sure do this in an automated way without much manual work hassle in case you don't mind spending operations.

    If you prefer custom code options, you could also take a look at the developer docs, via which you can do the same using the list members and delete member API call via script instead.

    0
  • Comment author
    Micheal Obiora

    A J thank you. I will check out the custom code method then.

    0

Please sign in to leave a comment.