```ruby
#  You can also create an user-event and save it like this:
#  user_event = Intercom::UserEvent.new
#  user_event.event_name = "publish-post"
#  user_event.created = Time.now
#  user_event.user = current_user
#  user_event.save