Integration with Mailchimp centralizes campaign metrics like email delivery data, open rates, and click rates, enabling more sophisticated marketing strategies. For instance, you can utilize SQL and Python to automatically aggregate response trends for specific segments, then visualize campaign performance with MDX dashboards. By further analyzing send times and customer attributes, teams can refine their marketing approaches for greater cost-effectiveness. Through Morph, these data-driven efforts are streamlined, empowering the entire organization to make faster, more informed decisions.
Once the integration is created, you can retrieve an AccessToken using the integration name from get_auth_token. With this token, you can proceed with data processing using the API.
import pandas as pd
import morph
from morph import MorphGlobalContext
from morph_lib.api import get_auth_token
@morph.funcdefget_salesforce_opportunities(context: MorphGlobalContext)-> pd.DataFrame: access_token = get_auth_token("salesforce-connection-name")# ↓↓↓ call API with access_token ↓↓↓