LRoy6
1
I am trying to run some custom code in my workflow that involves reading a dataframe using pandas. However, whenever I run the code I get this error:
Runtime.ImportModuleError: Unable to import module 'hubspotHandler': cannot import name 'pandas' from 'hubspot' (/opt/python/hubspot/__init__.py)
Anyone know how to install pandas with this?
Hey, @LRoy6
Thanks for reaching out. I’d like to invite some of our community members to the conversation. Hey, @ChrisoKlepke @taran42 @himanshurauthan, how would you tackle this? Would you handle it outside using a custom coded workflow action?
Something similar to this?
- Run your pandas code in a local or cloud-based Python environment
- Use the results of your pandas code to decide what actions to take in HubSpot
- Use the HubSpot APIs to take care of business

Remember to secure your keys when interacting with the HubSpot APIs, and be mindful of API rate limits.
Thank you! — Jaycee
Were there any solutions around this question?
I’m trying to do the same thing.