<imgsrc="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Event.Front.Page?format=png"title="Create an Event from the campaign Ticket: Beta developer program"alt="Create an Event from the campaign Ticket: Beta developer program">
<footer>
by <ahref="http://www.osoe-project.org/contact">OSOE Project</a>.
</footer>
<detailsopen="open">
<p>
From the previous tutorial <ahref="user-Howto.Create.Campaigns/view">"How to create Campaigns"</a>, you have learned how to create a campaign with ERP5 CRM Ticket module. Then in this tutorial, you will see how to create new events from this campaign.
</p><p>As introduced in the previous tutorial "Events", an event can be a phone call, an email, a fax message, etc. It can be either an incoming or outgoing event. The idea here is to learn how to prepare a campaign, which means to create detail events that will be sent later, as you will learn in the next tutorial.</p>
</details>
</section><section>
<h1>Agenda</h1>
<ul>
<li>Starting point: the Ticket - Campaign</li>
<li>Create a new Event</li>
<li>Edit the Event document</li>
<li>Go back to the Ticket page and check the Events list</li>
</ul>
<test>
<tableclass="test"style="display: none;">
<tbody></tbody>
</table>
</test>
</section><sectionclass="screenshot">
<h1>Example: Create the Event Mail message (SlapOS Recruits Beta Developers) from the Ticket (Beta Developer Program)</h1>
<imgsrc="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Example.Beta.Developer.Program.Ticket.Mail.Message.Event?format=png"alt="Example: Create the Event - Mail message from the Ticke - Beta Developer Program"title="Example: Create the Event - Mail message from the Ticke - Beta Developer Program">
<detailsopen="open">
<p>In last tutorial, we have created a Ticket - the marketing campaign Beta Developer Program (the right side screenshot), which aims at increasing the awareness of SlapOS (The new open source Cloud developed by VIFIB) by announcing the campaign and hiring software developers.</p><p>Now that the campaign Ticket has been opened, we are going to create Events for it, send these Outgoing Events to the customers of the marketing campaign, and then handle those Incoming Events from our clients. In our VIFIB example, after the marketing campaign has been opened, as described in the introduction of Events, Cédric de Saint Martin, the community manager of VIFIB will create a mail message - an Event, and then send to his contacts who might be interested in the program and become developers of SlapOS in the future. After these contacts have received the email, they will reply to the VIFIB manager by mail message, which will be well stored in the CRM system for future reference.</p><p>In this tutorial, we will describe in detail how to create the mail message Event from the marketing campaign Ticket</p><p>
<strong>Description:</strong>
the
<strong>Event Title</strong>
is "SlapOS Recruits Beta Developers", the
<strong>Event Type</strong>
is Mail Message, the
<strong>Event Nature</strong>
is Announcement, the
<strong>Sender</strong>
is Cédric de Saint Martin (SlapOS Community Manager from VIFIB), the
<strong>Recipients</strong>
are 4 contacts including software developers, company managers, college professors, etc., the
<strong>Event Content</strong>
is about announcing the developer hiring campaign and describing the progression of SlapOS Project.
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
</tr>
<trclass=""style="opacity: 1;">
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span></td>
</tr>
</tbody>
</table>
</test>
</section><sectionclass="screenshot">
<h1>Starting point: the Ticket - Campaign</h1>
<imgalt="The screenshot of a newly opened Campaign Ticket shows that we will create new Event from the Ticket"title="Create an Event: Start from the Ticket-Campaign"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Starting.Point.Ticket.Campaign.Empty.Event.List?format=png">
<detailsopen="open">
<p>
At the bottom of a campaign Ticket there is a list of all the events of the campaign. As you can see in the screenshot, this list is empty now, and we will create new events <strong>from this campaign Ticket</strong>
<imgalt="The screenshot shows the first step to create Event is to choose the 'Create New Event' from the 'Action' item list"title="Create a new Event from the 'Action' item list"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Create.New.Event.Action.List?format=png">
<detailsopen="open">
<p>
In order to add an Event to a campaign Ticket, <strong>open the "Action" item list</strong>
on top of the page and click on
<strong>“Create New Event”</strong>
.
</p>
</details>
<test>
<tableclass="test"style="display: none;">
<tbody>
<tr>
<td>selectAndWait</td>
<td>//select[@name="select_action"]</td>
<td>Create New Event</td>
</tr>
</tbody>
</table>
</test>
</section><sectionclass="screenshot">
<h1>Set the Event title, type, direction and edit the message</h1>
<imgalt="Event title, type, direction and message"title="Event title, type, direction and message"src="https://www.erp5.com/user-Howto.Prepare.Outgoing.Events.Title.Type.Direction.Message?format=png">
<detailsopen="open">
<p>
Now you will arrive at the Event creation page where you can <strong>add a Title</strong>
to this event; if you have chosen to create a web message (email), the title of the event will be the title of the email received by the Recipient when you will post the event, as described in the next tutorial. Then,
<strong>choose the Event type</strong>
and
<strong>select the direction</strong>
of the event (in our example, this Event will be an outgoing mail message). Then in the area
<strong>"Message"</strong>
, you can edit the content of the email you want to send.
</p><p>
When you are done, you can choose to <strong>Keep the Event in "Draft" state</strong>
, so that you can delete the Event from the Events list in the Ticket document. If not, the Event will be created under "Planned" state, which means it is ready to be sent, and you cannot delete it from the Ticket document anymore, because it will be recorded as a history of your Campaign. Then you can
<strong>click the “New Event”</strong>
button. This will create the new Event and open it in order for you to edit it further.
<td>Annoucing the developer hiring campaign and describing the progression of SlapOS Project.</td>
</tr>
<tr>
<td>click</td>
<td>//input[@name="field_your_event_workflow_action" and @value="plan"]</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//button[@id="dialog_submit_button"]</td>
<td>
<br>
</td>
</tr>
<tr>
<td>verifyText</td>
<td>//div[@id="transition_message"]</td>
<td>Created and associated a new Mail Message to the ticket.</td>
</tr>
</tbody>
</table>
</test>
</section><sectionclass="screenshot">
<h1>Event “Follow Up” a Ticket</h1>
<imgsrc="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Event.Follow.Up.Ticket?format=png"title="Event follows up a Ticket"alt="Event follows up a Ticket">
<detailsopen="open">
<p>Now that the Event has been created, you can see on the screenshot that some fields of this event have already been filled.</p><p>
For example, we will now explain the <strong>“Follow Up”</strong>
field. You remember that in order to keep tracks of interactions, the ERP5 CRM uses "Event Origin" and "Follow Up". The field “Follow Up” creates a link between an Event and a Ticket ( A Ticket is either a Campaign, a Support Request, a Meeting, a Sale Opportunity, etc...), from where the Event is created. The field "Event Origin" creates a link between related Events ( eg, an original mail message and the replies from its recipients).
</p><p>In our example, as we have created the Event (the Mail message "SlapOS Recruits Beta Developers") from a Campaign Ticket (the Beta Developer Program), the "Follow Up" field has been automatically set as being this very Campaign. As a result, this Event will be displayed in the Events list of the Follow Up Ticket, in our example, in the page of Beta Developer Program from where we have created this Event.</p>
<imgsrc="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Edit.Event.Document.Description.Senders.And.Recipients?format=png"title="Edit the Event document"alt="Edit the Event document">
<detailsopen="open">
<p>
Because in the previous step "Set Event title, type, direction and edit the message", we have written the content of the email already, you now only have to fill out the <strong>"Description"</strong>
field (if you need to note something to your team member to see), and you will have to fill out the
<strong>Sender/Caller</strong>
which means the person that will be in charge of sending the Event, and the
<strong>Recipients</strong>
field which must contain a person or an organisation from the Person or Organisation Modules of your ERP5 instance. If you are not sure of a name, you can click on the little wheels next to those fields and set the relation between a person/organisation and this Event, following the procedure you have learned in the previous tutorials. Once you have entered the recipients, make sure that the person documents of your recipients have an e-mail address, if necessary add an e-mail address to the person document. When you are done editing the Event document,
<td>Annoucing the developer hiring campaign and describing the progression of SlapOS Project.</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//button[@name="Base_edit:method"]</td>
<td>
<br>
</td>
</tr>
</tbody>
</table>
</test>
</section><sectionclass="screenshot">
<h1>Preview the Event</h1>
<imgsrc="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Preview?format=png"title="Preview the Event"alt="Preview the Event">
<detailsopen="open">
<p>
If you want to see what your email looks like, you can <strong>click on the “Preview” tab</strong>
, as circled in red in the picture.
</p>
</details>
<test>
<tableclass="test"style="display: none;">
<tbody>
<tr>
<td>storeAttribute</td>
<td>//div[@id="breadcrumb"]/a[3]@href</td>
<td>event_url</td>
</tr>
<trstyle="opacity: 1;">
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${event_url}</td>
<td>
<br>
</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Preview</td>
<td>
<br>
</td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>Annoucing the developer hiring campaign and describing the progression of SlapOS Project.</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//span[contains(text(),'View')]</td>
<td>
<br>
</td>
</tr>
</tbody>
</table>
</test>
</section><sectionclass="screenshot">
<h1>Go back to the Ticket from Event</h1>
<imgsrc="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Go.Back.To.Ticket.From.Event?format=png"title="Go back to the Campaign Ticket"alt="Go back to the Campaign Ticket">
<detailsopen="open">
<p>We will now go back to the campaign in order to check whether this event has been added to the Campaign Ticket.</p><p>
In order to reach the associated Campaign Ticket, you can <strong>go back to the view tab</strong>
of your event by clicking on the “View” tab, circled in red on the picture. Then
<strong>click on the plane icon</strong>
next to the “Follow Up” field, which will lead you to the Ticket that has been linked to your Event.
<imgsrc="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Event.Check.Events.List.In.Ticket.Document?format=png"title="Events list in the Ticket"alt="Events list in the Ticket">
<detailsopen="open">
<p>
Now you will be redirected to the Follow Up Ticket of the Event, which is the Campaign from where we created the event. In the red area on the bottom of this campaign Ticket, you can now see that the Event you just created and edited is <strong>displayed as a Planned message</strong>
, which means has been created successfully and is waiting to be confirmed.
</p><p>The next step will be to understand how to process this outgoing Event. We will learn how to do this in the next tutorial “How to Send Outgoing Events”.</p>
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
</tr>
</tbody>
</table>
</test>
</section>
\ No newline at end of file
<sectionclass="master">
<h1>How to Prepare Outgoing Events</h1>
<imgalt="Create an Event from the campaign Ticket: Beta developer program"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Event.Front.Page?format=png"title="Create an Event from the campaign Ticket: Beta developer program"/>
<p>From the previous tutorial <ahref="user-Howto.Create.Campaigns/view">"How to create Campaigns"</a>, you have learned how to create a campaign with ERP5 CRM Ticket module. Then in this tutorial, you will see how to create new events from this campaign.</p>
<p>As introduced in the previous tutorial "Events", an event can be a phone call, an email, a fax message, etc. It can be either an incoming or outgoing event. The idea here is to learn how to prepare a campaign, which means to create detail events that will be sent later, as you will learn in the next tutorial.</p>
</details>
</section>
<section>
<h1>Agenda</h1>
<ul>
<li>Starting point: the Ticket - Campaign</li>
<li>Create a new Event</li>
<li>Edit the Event document</li>
<li>Go back to the Ticket page and check the Events list</li>
</ul>
<test>field_my_destination_title_list
<tableclass="test"style="display: none;">
<tbody>
</tbody>
</table>
</test></section>
<sectionclass="screenshot">
<h1>Example: Create the Event Mail message (SlapOS Recruits Beta Developers) from the Ticket (Beta Developer Program)</h1>
<imgalt="Example: Create the Event - Mail message from the Ticke - Beta Developer Program"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Example.Beta.Developer.Program.Ticket.Mail.Message.Event?format=png"title="Example: Create the Event - Mail message from the Ticke - Beta Developer Program"/>
<detailsopen="open">
<p>In last tutorial, we have created a Ticket - the marketing campaign Beta Developer Program (the right side screenshot), which aims at increasing the awareness of SlapOS (The new open source Cloud developed by VIFIB) by announcing the campaign and hiring software developers.</p>
<p>Now that the campaign Ticket has been opened, we are going to create Events for it, send these Outgoing Events to the customers of the marketing campaign, and then handle those Incoming Events from our clients. In our VIFIB example, after the marketing campaign has been opened, as described in the introduction of Events, Cédric de Saint Martin, the community manager of VIFIB will create a mail message - an Event, and then send to his contacts who might be interested in the program and become developers of SlapOS in the future. After these contacts have received the email, they will reply to the VIFIB manager by mail message, which will be well stored in the CRM system for future reference.</p>
<p>In this tutorial, we will describe in detail how to create the mail message Event from the marketing campaign Ticket</p>
<p><strong>Description:</strong> the <strong>Event Title</strong> is "SlapOS Recruits Beta Developers", the <strong>Event Type</strong> is Mail Message, the <strong>Event Nature</strong> is Announcement, the <strong>Sender</strong> is Cédric de Saint Martin (SlapOS Community Manager from VIFIB), the <strong>Recipients</strong> are 4 contacts including software developers, company managers, college professors, etc., the <strong>Event Content</strong> is about announcing the developer hiring campaign and describing the progression of SlapOS Project.</p>
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
</tr>
<trstyle="opacity: 1;">
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span></td>
</tr>
</tbody>
</table>
</test></section>
<sectionclass="screenshot">
<h1>Starting point: the Ticket - Campaign</h1>
<imgalt="The screenshot of a newly opened Campaign Ticket shows that we will create new Event from the Ticket"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Starting.Point.Ticket.Campaign.Empty.Event.List?format=png"title="Create an Event: Start from the Ticket-Campaign"/>
<detailsopen="open">
<p>At the bottom of a campaign Ticket there is a list of all the events of the campaign. As you can see in the screenshot, this list is empty now, and we will create new events <strong>from this campaign Ticket</strong> , in order to fill this Events list.</p>
<imgalt="The screenshot shows the first step to create Event is to choose the 'Create New Event' from the 'Action' item list"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Create.New.Event.Action.List?format=png"title="Create a new Event from the 'Action' item list"/>
<detailsopen="open">
<p>In order to add an Event to a campaign Ticket, <strong>open the "Action" item list</strong> on top of the page and click on <strong>“Create New Event”</strong> .</p>
<h1>Set the Event title, type, direction and edit the message</h1>
<imgalt="Event title, type, direction and message"src="https://www.erp5.com/user-Howto.Prepare.Outgoing.Events.Title.Type.Direction.Message?format=png"title="Event title, type, direction and message"/>
<detailsopen="open">
<p>Now you will arrive at the Event creation page where you can <strong>add a Title</strong> to this event; if you have chosen to create a web message (email), the title of the event will be the title of the email received by the Recipient when you will post the event, as described in the next tutorial. Then, <strong>choose the Event type</strong> and <strong>select the direction</strong> of the event (in our example, this Event will be an outgoing mail message). Then in the area <strong>"Message"</strong> , you can edit the content of the email you want to send.</p>
<p>When you are done, you can choose to <strong>Keep the Event in "Draft" state</strong> , so that you can delete the Event from the Events list in the Ticket document. If not, the Event will be created under "Planned" state, which means it is ready to be sent, and you cannot delete it from the Ticket document anymore, because it will be recorded as a history of your Campaign. Then you can <strong>click the “New Event”</strong> button. This will create the new Event and open it in order for you to edit it further.</p>
<imgalt="Event follows up a Ticket"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Event.Follow.Up.Ticket?format=png"title="Event follows up a Ticket"/>
<detailsopen="open">
<p>Now that the Event has been created, you can see on the screenshot that some fields of this event have already been filled.</p>
<p>For example, we will now explain the <strong>“Follow Up”</strong> field. You remember that in order to keep tracks of interactions, the ERP5 CRM uses "Event Origin" and "Follow Up". The field “Follow Up” creates a link between an Event and a Ticket ( A Ticket is either a Campaign, a Support Request, a Meeting, a Sale Opportunity, etc...), from where the Event is created. The field "Event Origin" creates a link between related Events ( eg, an original mail message and the replies from its recipients).</p>
<p>In our example, as we have created the Event (the Mail message "SlapOS Recruits Beta Developers") from a Campaign Ticket (the Beta Developer Program), the "Follow Up" field has been automatically set as being this very Campaign. As a result, this Event will be displayed in the Events list of the Follow Up Ticket, in our example, in the page of Beta Developer Program from where we have created this Event.</p>
<imgalt="Edit the Event document"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Edit.Event.Document.Description.Senders.And.Recipients?format=png"title="Edit the Event document"/>
<detailsopen="open">
<p>Because in the previous step "Set Event title, type, direction and edit the message", we have written the content of the email already, you now only have to fill out the <strong>"Description"</strong> field (if you need to note something to your team member to see), and you will have to fill out the <strong>Sender/Caller</strong> which means the person that will be in charge of sending the Event, and the <strong>Recipients</strong> field which must contain a person or an organisation from the Person or Organisation Modules of your ERP5 instance. If you are not sure of a name, you can click on the little wheels next to those fields and set the relation between a person/organisation and this Event, following the procedure you have learned in the previous tutorials. Once you have entered the recipients, make sure that the person documents of your recipients have an e-mail address, if necessary add an e-mail address to the person document. When you are done editing the Event document, <strong>Save</strong> your work by clicking the “Save" button.</p>
<imgalt="Preview the Event"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Preview?format=png"title="Preview the Event"/>
<detailsopen="open">
<p>If you want to see what your email looks like, you can <strong>click on the “Preview” tab</strong> , as circled in red in the picture.</p>
</details>
<test>
<tableclass="test"style="display: none;">
<tbody>
<tr>
<td>storeLocation</td>
<td>event_creation</td>
<td> </td>
</tr>
<trstyle="opacity: 1;">
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
<imgalt="Go back to the Campaign Ticket"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Go.Back.To.Ticket.From.Event?format=png"title="Go back to the Campaign Ticket"/>
<detailsopen="open">
<p>We will now go back to the campaign in order to check whether this event has been added to the Campaign Ticket.</p>
<p>In order to reach the associated Campaign Ticket, you can <strong>go back to the view tab</strong> of your event by clicking on the “View” tab, circled in red on the picture. Then <strong>click on the plane icon</strong> next to the “Follow Up” field, which will lead you to the Ticket that has been linked to your Event.</p>
<imgalt="Events list in the Ticket"src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Event.Check.Events.List.In.Ticket.Document?format=png"title="Events list in the Ticket"/>
<detailsopen="open">
<p>Now you will be redirected to the Follow Up Ticket of the Event, which is the Campaign from where we created the event. In the red area on the bottom of this campaign Ticket, you can now see that the Event you just created and edited is <strong>displayed as a Planned message</strong> , which means has been created successfully and is waiting to be confirmed.</p>
<p>The next step will be to understand how to process this outgoing Event. We will learn how to do this in the next tutorial “How to Send Outgoing Events”.</p>