I'm using a Mailchimp Journey adding an email to an audience and then firing an event with Maichimp's PHP API. All is working as expected, but I can't find a way to cancel a Journey for an email. The journey includes scheduled emails after a month or after a year.
I've tried:
Listing scheduled emails: does not reflect the scheduled emails for the journey.
Unsubscribe or archive the emails from the Audience: the journey does not reflect the status of the subscriber.
The only reference to journeys in the API docs is
https://mailchimp.com/developer/marketing/api/customer-journeys-journeys-steps-actions/
But I can't find how to get out or mark as completed an email using the API.
Related
I am estimating to have new subscribers added to my audience throughout the next month, however, I would like to set up scheduled email campaigns to send while I'm away. Do new subscribers automatically get added to a campaign when they subscribe and get added to a certain audience? Or do only the people who were subscribed before I set up the scheduled email get the campaign sent to them?
I have a gserviceaccount for my application that sends invitations to some Google Calendar events, so I use Java API for that (class com.google.api.services.calendar.Calendar, to be precise). It worked like a charm for more than year, but now I'm having some troubles with that as it just stopped working. I still can create new events via API and invite participants, later I can see they are saved properly (when getting this event from API, I can see the participants' emails), but the participants do not receive any emails or other kinds of invitation (they are not aware of the event at all)
I have already tried to delete and invite atteendees and events programatically, but nothing happened. When I create an event using normal Calendar app and then invite to this event (using app, not API), I get the invitation properly.
import com.google.api.services.calendar.model.Event;
import com.google.api.services.calendar.model.EventAttendee;
Event event = service.events().get(CALENDAR_ID, columnDay.getGoogleCalendarEvent().getGoogleEventId()).execute();
event.getAttendees().add(new EventAttendee().setEmail("foo#example.com"));
service.events().update(CALENDAR_ID, event.getId(), event).setSendNotifications(Boolean.TRUE).execute();
I expect the attendee to be saved and an email to be sent, but only a attendee is saved and I can't see any sort of invitation (email or anything). I don't get any errors.
I am able to create google calendar events via its API. However, the email invite is sent immediately, the moment I create the event via API.
I want the event invite to be send few minutes before the event start time. So that users can respond to it as yes or no for their immediate availability.
I'm trying out the events.insert method of the Google Calendar API (https://developers.google.com/calendar/v3/reference/events/insert) to send calendar invites. With sendNotifications=True, the email I receive is a 'standard' GMail calendar invite (see below), in which only the title, description, and reminders are customized (see below).
I was wondering if there is any way to customize this email to include branding, for example? As far I can tell, there isn't any, but perhaps I have overlooked something?
There is no way to customize the emails I believe. One option to get custom emails is to set sendNotifications=false and instead send your own invitation emails using the Gmail API for example.
I'm creating custom emails (many customizations) in MailChimp campaign builder. Looks like the only option to send is via a campaign, which I'd need to manually upload a list of email addresses. I honestly just want to use the builder to send a quality form email, that I customize for each recipient.
Is it possible to send an email to a specific email address without building a list, etc? This will probably be a one-time thing.
You can send campaign to single email address in mailchimp through this method. However you can't send the same campaign more than once to same email address.
create an automation email with API 3.0 as trigger.
Now, to send a campaign, make POST call to the given url with email address in your mailchimp
https://us19.api.mailchimp.com/3.0/automations/********/emails/********/queue
Now, To call that api you need to add HTTP BAsic Auth or OAuth 2 to API Request. See this answer MailChimp 3.0 HTTP POST Json Example
There's also a npm module to make life easier https://npmjs.com/package/mailchimp-api-v3
This is just a workaround as mailchimp was not built for single emails. In the longer run I'd suggest you to look into mandrill, sendgrid or other transactional email tool.
You are better off using Mandrill, MailChimp's transactional email app, to send one off emails. You can still use or at least make use of MailChimp campaigns but you can send one off emails that are customised and you do not need to send to a list