Text this: From habits to social structures