0

How to link the original email used to initiate the invite to the actual member in the member_added/added events?

Reproduction:

  1. invite member to organisation team via email
  2. member accepts email invite

During step 1 a member_invited action is emitted from a web hook.

During step 2 a member_added and a added (scope team) action is emitted from a web hook.

Things tried

  • find email/invite id on the member added events (not present)
  • find a member id on the invite and link it to member added event (not present)
  • find the original invite record, maybe that's updated as part of the process (invite deleted after acceptance)
  • query member data, try to find an email (not present)
  • query user data, try to find email (not available unless public)
  • above but via graphql

Not tired yet

  • a common piece of information between the invite and the member added is the invitee. Although it would seem like excessive work to create a unique invitee to link the two.
Anton Toshik
  • 2,621
  • 2
  • 19
  • 42

0 Answers0