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

Action: Add new Subscriber creates subscriber with 'Email type: html' only #4

Open
stas-fomenko opened this issue Jan 13, 2020 · 0 comments
Labels

Comments

@stas-fomenko
Copy link
Contributor

Description: Action: Add new Subscriber creates subscriber with 'Email type: html' only, no matter what value was input into 'Email type' field

STR:

  1. Create flow: simple trigger -> mailchimp: Add new Subscriber, input:
    image
  2. Retrieve sample:
Output example { "id": "72e9cb57ec47d709e7d47fd62d19c2c0", "email_address": "[email protected]", "unique_email_id": "4347f4b7c0", "web_id": 332704857, "email_type": "html", "status": "subscribed", "merge_fields": { "FNAME": "", "LNAME": "", "ADDRESS": "", "PHONE": "", "BIRTHDAY": "" }, "stats": { "avg_open_rate": 0, "avg_click_rate": 0 }, "ip_signup": "", "timestamp_signup": "", "ip_opt": "35.234.66.114", "timestamp_opt": "2020-01-13T08:12:46+00:00", "member_rating": 2, "last_changed": "2020-01-13T08:12:46+00:00", "language": "", "vip": false, "email_client": "", "location": { "latitude": 0, "longitude": 0, "gmtoff": 0, "dstoff": 0, "country_code": "", "timezone": "" }, "source": "API - Generic", "tags_count": 0, "tags": [], "list_id": "5b24ff2adc", "_links": [ { "rel": "self", "href": "https://us4.api.mailchimp.com/3.0/lists/5b24ff2adc/members/72e9cb57ec47d709e7d47fd62d19c2c0", "method": "GET", "targetSchema": "https://us4.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json" }, { "rel": "parent", "href": "https://us4.api.mailchimp.com/3.0/lists/5b24ff2adc/members", "method": "GET", "targetSchema": "https://us4.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/CollectionResponse.json", "schema": "https://us4.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json" }, { "rel": "update", "href": "https://us4.api.mailchimp.com/3.0/lists/5b24ff2adc/members/72e9cb57ec47d709e7d47fd62d19c2c0", "method": "PATCH", "targetSchema": "https://us4.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json", "schema": "https://us4.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/PATCH.json" }, { "rel": "upsert", "href": "https://us4.api.mailchimp.com/3.0/lists/5b24ff2adc/members/72e9cb57ec47d709e7d47fd62d19c2c0", "method": "PUT", "targetSchema": "https://us4.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json", "schema": "https://us4.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/PUT.json" }, { "rel": "delete", "href": "https://us4.api.mailchimp.com/3.0/lists/5b24ff2adc/members/72e9cb57ec47d709e7d47fd62d19c2c0", "method": "DELETE" }, { "rel": "activity", "href": "https://us4.api.mailchimp.com/3.0/lists/5b24ff2adc/members/72e9cb57ec47d709e7d47fd62d19c2c0/activity", "method": "GET", "targetSchema": "https://us4.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Activity/Response.json" }, { "rel": "goals", "href": "https://us4.api.mailchimp.com/3.0/lists/5b24ff2adc/members/72e9cb57ec47d709e7d47fd62d19c2c0/goals", "method": "GET", "targetSchema": "https://us4.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Goals/Response.json" }, { "rel": "notes", "href": "https://us4.api.mailchimp.com/3.0/lists/5b24ff2adc/members/72e9cb57ec47d709e7d47fd62d19c2c0/notes", "method": "GET", "targetSchema": "https://us4.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Notes/CollectionResponse.json" }, { "rel": "events", "href": "https://us4.api.mailchimp.com/3.0/lists/5b24ff2adc/members/72e9cb57ec47d709e7d47fd62d19c2c0/events", "method": "POST", "targetSchema": "https://us4.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Events/POST.json" }, { "rel": "delete_permanent", "href": "https://us4.api.mailchimp.com/3.0/lists/5b24ff2adc/members/72e9cb57ec47d709e7d47fd62d19c2c0/actions/delete-permanent", "method": "POST" } ] }

AR: FInd in sample: "email_type": "html"
ER:

  1. "email_type": "text"
    OR
  2. in case if "email_type": "text" cannot be set due to mailchimp API behaviour - enum list of available values for email_type should be fixed:
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant