ELIGIBILITY CRITERIA FOR PRIMARY HEALTHCARE WORKERS:  We will include physicians and nurses from primary care centres in Mallorca. We will exclude those anticipating moving to a different centre during the study period.  ELIGIBILITY CRITERIA FOR PATIENTS:  Inclusion Criteria:  Registered in the Public Health Service of the Balearic Islands At risk of T2DM (HbA1c from 6% to 6.4% or fasting plasma glucose 110-125mg/dl, or both) With access to a mobile device able toreceive text messages.  Exclusion Criteria:  Younger than 18 years old or older than 75 years old People not able to read messages in Spanish Patients with severe mental conditions.