Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Company size not working correctly #355

Open
jnarowski opened this issue Nov 20, 2024 · 2 comments
Open

Company size not working correctly #355

jnarowski opened this issue Nov 20, 2024 · 2 comments

Comments

@jnarowski
Copy link

Am I correct that company.size is not supported?

I was trying to do this
config.company.size = proc { |company| company.total_count }

but got an error.

Size seems to map correctly to the intercom Company attribute in their API docs. Is there another way to do this or is this just not supported?

@DamonFstr

This comment has been minimized.

@DamonFstr
Copy link
Contributor

@jnarowski Update after looking into this a bit, we do support setting it on the messenger:
https://developers.intercom.com/installing-intercom/web/attributes-objects#company-object

If the object you return out of the config.company.current proc has a size attribute on it it should be send to the messenger API 👍

Setting config.company.size like that doesn't appear to work though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants