01Chapter 1: How a CRM stores deals, people and activityBefore you log a call or move a deal, you need to know where that information is stored. A CRM (customer relationship management system) is a database with a web interface on top. Every later chapter in this tutorial, such as stages, activity types, associations and API logging, builds on the storag8 min read
02Chapter 2: Deals, pipelines and stagesThis chapter covers how a CRM models a sale in progress. It shows how to create a deal and move it through a pipeline, and which settings decide what a stage means. It assumes you know the basic B2B sales flow (lead, qualification, proposal, close) and can read JSON. The Python and Apex examples are7 min read
03Chapter 3: The activity types you can logAn activity is a record of something that happened, or is going to happen, on a deal. This chapter covers the types of activity both CRMs let you log, how each one is stored, and how to choose the right one. It assumes you know what a deal, contact and company are, and that you've seen the deal and 7 min read
04Chapter 4: Linking activities to the right recordsThis chapter assumes you know what a record, an object and a property are, and that you can read a deal's stage and amount. You should also know the activity types from the previous chapter: calls, emails, meetings, notes and tasks. Here you learn how an activity attaches to deals, contacts and comp6 min read
05Chapter 5: Keeping deal stage, amount and close date currentThis chapter assumes you know what a deal (HubSpot) or opportunity (Salesforce) is, and that deals move through the stages of a pipeline. It also assumes you know that a deal is linked to contacts and a company. Here you will learn how to keep the three fields that drive forecasts accurate: stage, a7 min read
06Chapter 6: Logging a call, meeting, note or task by handThis chapter assumes you know the CRM data model from earlier in the tutorial. That means records, objects and properties, how a deal sits in a pipeline stage, and what an association is. It also assumes you can open a deal or opportunity in Salesforce Lightning or HubSpot. By the end you should be 8 min read
07Chapter 7: Writing useful activity records: outcome and next stepThis chapter assumes you can already log a call, meeting, note or task in Salesforce or HubSpot and link it to a deal, contact and company. It also assumes you know what a pipeline stage is. The focus here is the content of the record: what you write in the subject and body, and why that text decide7 min read
08Chapter 8: Email and calendar syncThis chapter covers how Salesforce and HubSpot capture emails and meetings automatically, what the sync does and does not log, and how to fix the usual problems. It assumes you know the CRM data model from earlier chapters: contacts, companies, deals or opportunities, activity types, and association7 min read
09Chapter 9: Creating activities through the APIThis chapter assumes you can already log activities by hand and know how activities link to deals and contacts through associations. It also assumes you can read JSON and either Python or Apex. The examples use Salesforce (Apex and SOQL) and HubSpot (CRM v3 REST API with Python).7 min read
10Chapter 10: Automating follow-up tasks and stage-change loggingEarlier chapters covered logging by hand and automatic capture of email and meetings. This chapter covers a third layer: rules that run when a deal changes and create the follow-up work or the history entry for you.8 min read
11Chapter 11: Checking your data with reports and queriesLogging a deal or activity is only half the job. You also need to confirm that the record landed where you expected, that it is linked to the right deal, and that the numbers a manager will read are correct. This chapter shows how to check your data with reports in the CRM interface and with queries7 min read
12Chapter 12: Data quality, permissions and common pitfallsThis chapter assumes you can log calls, emails, meetings, notes and tasks against deals, and that you know how associations link them to contacts and companies. It also assumes you have seen the Salesforce and HubSpot API examples from earlier chapters. Here you will learn how logged data goes bad, 8 min read