Skip to main content
Contributor ⭐️⭐️⭐️⭐️
September 28, 2026

Best way to automate granting access to gated content

Hi all,

I’m working on something and just want to get a sense from others if my approach is the best.

Our intent is to make a gated custom page only accessible to people at a certain company.

My thinking:

  • Create a role that grants access to the custom page.
  • Use the registration webhook and the API to catch people who register for the community with an email address from that company and use the API to apply the role.

Is there a better workflow I’ve missed?

    9 replies

    mitchell.gordon
    Expert ⭐️
    September 29, 2026

    I do believe this is the best way to do this today. This process only runs every 4 hours however.

    Users who create a new account will not have access to the gated content for 4 hours. This is a major problem I have yet to find a workaround for.

    Translate
    SimonHAuthor
    Contributor ⭐️⭐️⭐️⭐️
    September 29, 2026

    Which part of the process only runs every four hours, ​@mitchell.gordon?

    Translate
    mitchell.gordon
    Expert ⭐️
    September 29, 2026

    The job to assign a custom role only runs every 4 hours.

    Translate
    lauro.lana
    Helper ⭐️⭐️⭐️
    October 1, 2026

    you’re welcome, ​@SimonH! 😉

    Translate