# Invitation to Fibery doesn't trigger email

**URL:** <https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111>\
**Category:** Bugs & Issues\
**Created:** [January 13, 2025, 3:30pm UTC](https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111 "2025-01-13T15:30:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [January 13, 2025, 3:30pm UTC](https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111/1 "2025-01-13T15:30:40Z")

</div>

Invitations to fibery created by the script action do not sent end users an email invitation.  
Users cannot reset password to gain access.

Current workaround: delete user (and lose any relations setup) and invite manually from users page.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [January 13, 2025, 4:05pm UTC](https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111/2 "2025-01-13T16:05:33Z")

</div>

> [@helloitse](#):
>
> Invitations to fibery created by the script action

What does the script look like?  
How come you’re doing it with a script rather than via the UI?

> [@helloitse](#):
>
> Users cannot reset password to gain access.

How do they request a new password? What happens when they try? Are you sure an email isn’t getting spam-filtered?

---

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [January 13, 2025, 4:32pm UTC](https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111/3 "2025-01-13T16:32:08Z")

</div>

> [@Chr1sG](#):
>
> What does the script look like?

Script is triggered in Candidate database when entity is moved to state Hired.

```js
const currentEntity = args.currentEntities[0];

// Create a new user with Name and Email from the current entity
const newUser = await fibery.createEntity('fibery/user', {
    Name: currentEntity.Name,
    Email: currentEntity.Email,
});

```

> [@Chr1sG](#):
>
> How come you’re doing it with a script

I don’t know that I understand this questions [I run a business](https://www.linkedin.com/feed/update/urn:li:activity:7283494189470777347/) that improves efficiency. I gotta practice what I preach.

I did the troubleshooting live on a call with the end user. No email, attempted password reset on the sign-in screen. Confirmed not in spam.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [January 13, 2025, 6:54pm UTC](https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111/4 "2025-01-13T18:54:42Z")

</div>

I’m afraid that it is not supported behaviour to create new user accounts via a script action, so it’s no surprise that the user did not get an invitation (nor could they reset their password).

Users are not ‘normal’ entities like other databases, so there are many things that you can/can’t do with them which you can’t/can do with other types.

> [@helloitse](#):
>
> > [@Chr1sG](#):
> >
> > How come you’re doing it with a script
> 
> I don’t know that I understand this questions [I run a business](https://www.linkedin.com/feed/update/urn:li:activity:7283494189470777347/) that improves efficiency. I gotta practice what I preach.

We haven’t heard many use cases for creating new users without human intervention, hence the question.  
And for those cases where user management needs to be (semi-)automated, we offer SCIM provisioning in the Enterprise plan

---

<div class="post-metadata">

**Author:** ![itsu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/itsu/32/1775_2.png) [@itsu](https://community.fibery.io/u/itsu)\
**Post date:** [January 13, 2025, 6:57pm UTC](https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111/5 "2025-01-13T18:57:20Z")

</div>

The provided script should fail. Could you please double-check if the user was actually created afterwards? This is not a question about email invitation; the user creation process itself should not work at all.

---

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [January 13, 2025, 9:12pm UTC](https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111/6 "2025-01-13T21:12:40Z")

</div>

Well that’s unfortunate. ☹  
I think it’s only natural if Fibery is an Applicant Tracking System, that Fibery can trigger provisioning seats. It’s more of a “why not?”, than a “why?”  
That’s the use case, Using Fibery to automate new team member onboarding.

In my case, not all users will have a google workspace account so I don’t think SCIM will work for me.

The script generates a User in the Users database. Console.log of the output confirms the record ID. I can use the record anywhere in the UI where people/user fields are.  
But the “user” created doesn’t actually have an account to sign in to.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [January 13, 2025, 9:41pm UTC](https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111/7 "2025-01-13T21:41:35Z")

</div>

> [@helloitse](#):
>
> In my case, not all users will have a google workspace account so I don’t think SCIM will work for me.

FYI, SCIM is not limited to Google accounts.  
I know this doesn’t solve your issue, but just for any future readers

---

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [May 18, 2025, 8:08am UTC](https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111/8 "2025-05-18T08:08:37Z")

</div>

> [@Chr1sG](#):
>
> I’m afraid that t is not supported behaviour to create new user accounts via a script

Now that users are a database, has this changed?

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [May 18, 2025, 9:38am UTC](https://community.fibery.io/t/invitation-to-fibery-doesnt-trigger-email/8111/9 "2025-05-18T09:38:25Z")

</div>

> [@helloitse](#):
>
> Now that users are a database, has this changed?

This hasn’t changed.
