Attaching interrupt to IMU to read in sleep mode?

Hey everyone! I had a question about how I can attach an interrupt to the IMU while the device is in sleep mode. I essentially want to default the device to be in sleep mode except for when some sort of significant movement is detected from the IMU, such as being picked up. I currently want to do this by checking the accel X, Y, and Z values to see if they’re above a threshold, or possibly checking for significant changes in the gyro data. I’m having trouble figuring out how to connect the interrupt to the internal IMU, as well as triggering it while in sleep mode. I’m using a XIAO nRF52840 Sense. If you need more information, please let me know. Thank you in advance!