# Create import users job not triggering post-user-registration action

**URL:** <https://community.auth0.com/t/create-import-users-job-not-triggering-post-user-registration-action/182741>\
**Category:** Get Help\
**Tags:** user-import-export, user-management\
**Created:** [February 24, 2025, 9:46pm UTC](https://community.auth0.com/t/create-import-users-job-not-triggering-post-user-registration-action/182741 "2025-02-24T21:46:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![schultzRr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/schultzrr/32/51810_2.png) [@schultzRr](https://community.auth0.com/u/schultzRr)\
**Post date:** [February 24, 2025, 9:46pm UTC](https://community.auth0.com/t/create-import-users-job-not-triggering-post-user-registration-action/182741/1 "2025-02-24T21:46:29Z")

</div>

Ready to post? 🔍 First, try searching for your answer.  
I’m trying to send an email to users using the post-user-registration trigger to newly created users via this endpoint [Auth0 Management API v2](https://auth0.com/docs/api/management/v2/jobs/post-users-imports) without success.

I already created an action which is triggered after I create a user, and it’s working when I create a user via dashboard or using this endpoint: [Auth0 Management API v2](https://auth0.com/docs/api/management/v2/users/post-users)

As I said, it works flawlessly when I create users that way, but not when I use the post-users-import job, which doesn’t seem to work. Can anyone help me out how can I accomplish that?

I know the trigger is not fired, since I’m using the Real-time Webtask Logs extension and nothing gets logged if I use the user import job endpoint ☹

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 24, 2025, 10:00pm UTC](https://community.auth0.com/t/create-import-users-job-not-triggering-post-user-registration-action/182741/3 "2025-02-24T22:00:15Z")

</div>

Hi @schultzRr

Welcome to the Auth0 Community!

Thank you for posting your question. It’s expected that the user’s import jobs won’t trigger action. However, I would encourage you to open a new thread in the #Product Feedback category explaining your use case.

In terms of sending emails to a newly created users, maybe the email address verification email job could help here → [Auth0 Management API v2](https://auth0.com/docs/api/management/v2/jobs/post-verification-email)

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![schultzRr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/schultzrr/32/51810_2.png) [@schultzRr](https://community.auth0.com/u/schultzRr)\
**Post date:** [February 24, 2025, 10:15pm UTC](https://community.auth0.com/t/create-import-users-job-not-triggering-post-user-registration-action/182741/4 "2025-02-24T22:15:06Z")

</div>

Thank you for your super fast response. Maybe I forgot to specify that the intention of the email is to ask the users to change their password after I create a job to import a set of users. So I’m out of luck if the action is not triggered on the user’s import job.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 25, 2025, 12:16pm UTC](https://community.auth0.com/t/create-import-users-job-not-triggering-post-user-registration-action/182741/5 "2025-02-25T12:16:54Z")

</div>

Hi @schultzRr,

In the case of sending the change password email, if your users will be imported only to the database connection, you can use the change-password authentication api endpoint to send a change password email to the user →

[https://auth0.com/docs/api/authentication#change-password](https://auth0.com/docs/api/authentication#change-password)

```auto
POST https://YOUR_DOMAIN/dbconnections/change_password
Content-Type: application/json
{
  "client_id": "YOUR_CLIENT_ID",
  "email": "USER_EMAIL",
  "connection": "YOUR_DATABASE_CONNECTION"
}

```

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![schultzRr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/schultzrr/32/51810_2.png) [@schultzRr](https://community.auth0.com/u/schultzRr)\
**Post date:** [March 4, 2025, 2:27am UTC](https://community.auth0.com/t/create-import-users-job-not-triggering-post-user-registration-action/182741/6 "2025-03-04T02:27:38Z")

</div>

I’m not sure if this works for me, since I don’t really know if there’s a max rate of this endpoint. I’m thinking about running it for maybe 500 users. I hope I don’t get refused by the endpoint if I call it that amount of times after the import

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 18, 2025, 2:28am UTC](https://community.auth0.com/t/create-import-users-job-not-triggering-post-user-registration-action/182741/7 "2025-03-18T02:28:34Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
