Exactly.
Motion can detect objects in the images, but not recognize the object type, but it's easy to integrate with a third party services like the one that you are linking with the scripts features [0].
I have personally integrated with S3 and self-hosted notification to create a small CCTV system, but there is no limit to the imagination of possible integrations.
- [0] https://motion-project.github.io/motion_config.html#OptDetai...