Skip to content

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

@stas-fomenko

Description

@stas-fomenko

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": "stanislav.fomenko+test1@elastic.io", "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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions