Newsletter-to-Tweet AI Generation

Takes the most recent email in your GMail inbox with a specific Label, and converts it into suggested Tweets, and mails it to you. Each Tweet has tweetable suggested text, an AI image prompt, and a linked AI image you can use. Simplifies and elevates your social media feed maintenance!
Import Workflow

-------------------------------------------------------------------------------- subject: cranq.ai flow export version: 1.0 title: Newsletter-to-Tweet AI Generation_Video ------------------------------------ BEGIN ------------------------------------- eyJmbG93Ijp7ImlkIjoiaWQtMDAwMDAwIiwidGl0bGUiOiJOZXdzbGV0dGVyLXRvLVR3ZWV0IEFJIEdl bmVyYXRpb25fVmlkZW8iLCJkZXNjcmlwdGlvbiI6IkdldHMgdGhlIGxhdGVzdCBHbWFpbCB3aXRoIGEg c3BlY2lmaWMgbGFiZWwsIGdlbmVyYXRlcyBhIHR3ZWV0IGZvciBpdCwgYW5kIGFsc28gYSBwb3RlbnRp YWwgQUkgaW1hZ2UgdG8gZ28gd2l0aCB0aGUgdHdlZXQuICBJdCB0aGVuIHNlbmRzIGEgbmljZSBlbWFp bCB3aXRoIHRoaXMgaW5mbyB0byB0aGUgdXNlci4gIFRyeSBzY2hlZHVsaW5nIGl0IHRvIHJ1biBldmVy eSBkYXkhXG5cbklOU1RSVUNUSU9OU1xuMS4gQ3JlYXRlIGEgJ0xhYmVsJyBpbiBHbWFpbCAoaHR0cHM6 Ly90Lmx5L3FQZkhNKSBhbmQgdGFnIGEgZmV3IGludGVyZXN0aW5nIG5ld3NsZXR0ZXJzIHdpdGggaXRc bjIuIENvbmZpZ3VyZSB0aGUgV29ya2Zsb3cgUGFyYW1ldGVycyBpbiB0aGUgZmxvdyBiZWxvd1xuNS4g Q2xpY2sgJ1J1biBFbnRpcmUgV29ya2Zsb3cnLCBhbmQgcHJvdmlkZSBhbnkgcGVybWlzc2lvbnMgcmVx dWVzdGVkLiIsImNyZWF0ZWRBdCI6MTcwNjE5OTUyNTk5OCwidXBkYXRlZEF0IjoxNzA2MTk5NTQ5NTQ1 LCJhY2Nlc3NlZEF0IjoxNzA2MTk5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5IHRoZSBPcGVuQUkgQVBJLiIsInR5cGUiOiJ7cG9zdDpzdHJpbmc7cHJvbXB0OnN0cmluZzts aW5rOnN0cmluZztlbmNvZGVkX2xpbms6c3RyaW5nO0FJX0ltYWdlOnN0cmluZzt9W10iLCJpc0JvdW5k VG9Db2RlIjp0cnVlfX0sImltcGxlbWVudGF0aW9uIjp7ImNvZGUiOiJjb25zdCBheGlvcyA9IHJlcXVp cmUoJ2F4aW9zJyk7XG5cbmFzeW5jIGZ1bmN0aW9uIGdlbmVyYXRlQUlJbWFnZXMocmVjb3Jkcykge1xu ICAgIGNvbnN0IHVwZGF0ZWRSZWNvcmRzID0gW107XG5cbiAgICBmb3IgKGxldCByZWNvcmQgb2YgcmVj b3Jkcykge1xuICAgICAgICB0cnkge1xuICAgICAgICAgICAgY29uc3QgcmVzcG9uc2UgPSBhd2FpdCBh eGlvcy5wb3N0KCdodHRwczovL2FwaS5vcGVuYWkuY29tL3YxL2ltYWdlcy9nZW5lcmF0aW9ucycsIHtc biAgICAgICAgICAgICAgICBtb2RlbDogJ2RhbGwtZS0zJyxcbiAgICAgICAgICAgICAgICBwcm9tcHQ6 IHJlY29yZC5wcm9tcHQsXG4gICAgICAgICAgICAgICAgbjogMSxcbiAgICAgICAgICAgICAgICBzaXpl OiAnMTAyNHgxMDI0J1xuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIGlmIChyZXNwb25zZS5k YXRhICYmIHJlc3BvbnNlLmRhdGEuZGF0YSAmJiByZXNwb25zZS5kYXRhLmRhdGFbMF0gJiYgcmVzcG9u c2UuZGF0YS5kYXRhWzBdLnVybCkge1xuICAgICAgICAgICAgICAgIHJlY29yZC5BSV9JbWFnZSA9IHJl c3BvbnNlLmRhdGEuZGF0YVswXS51cmw7XG4gICAgICAgICAgICAgICAgdXBkYXRlZFJlY29yZHMucHVz aChyZWNvcmQpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGNhdGNoIChlcnJvcikge1xuICAgICAg ICAgICA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xvYWRJbWFnZVRv RHJpdmUocmVjb3JkcywgZm9sZGVySWQpIHtcbiAgICBjb25zdCB1cGRhdGVkUmVjb3JkcyA9IFtdO1xu ICAgIGZvciAobGV0IHJlY29yZCBvZiByZWNvcmRzKSB7XG4gICAgICAgIGNvbnN0IGltYWdlVXJsID0g cmVjb3JkLkFJX0ltYWdlO1xuICAgICAgICBjb25zdCBpbWFnZSA9IGF3YWl0IGF4aW9zKHtcbiAgICAg ICAgICAgIG1ldGhvZDogJ0dFVCcsXG4gICAgICAgICAgICB1cmw6IGltYWdlVXJsLFxuICAgICAgICAg ICAgcmVzcG9uc2VUeXBlOiAnc3RyZWFtJ1xuICAgICAgICB9KTtcbiAgICAgICAgY29uc3QgZmlsZU1l dGFkYXRhID0ge1xuICAgICAgICAgICAgJ25hbWUnOiBpbWFnZVVybC5zcGxpdCgnLycpLnBvcCgpLFxu ICAgICAgICAgICAgJ3BhcmVudHMnOiBbZm9sZGVySWRdXG4gICAgICAgIH07XG4gICAgICAgIGNvbnN0 IGNyZWF0ZUZpbGVSZXNwb25zZSA9IGF3YWl0IGF4aW9zKHtcbiAgICAgICAgICAgIG1ldGhvZDogJ1BP U1QnLFxuICAgICAgICAgICAgdXJsOiAnaHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vZHJpdmUvdjMv ZmlsZXMnLFxuICAgICAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgICAgICAgICdDb250ZW50LVR5 cGUnOiAnYXBwbGljYXRpb24vanNvbidcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBkYXRhOiBm aWxlTWV0YWRhdGFcbiAgICAgICAgfSk7XG4gICAgICAgIGNvbnN0IGZpbGVJZCA9IGNyZWF0ZUZpbGVS ZXNwb25zZS5kYXRhLmlkO1xuICAgICAgICBhd2FpdCBheGlvcyh7XG4gICAgICAgICAgICBtZXRob2Q6 ICdQQVRDSCcsXG4gICAgICAgICAgICB1cmw6IGBodHRwczovL3d3dy5nb29nbGVhc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wiXSwic3VtbWFyeSI6IlNlbmRzIGFuIGVtYWlsIHZpYSBHbWFpbCBBUEkuIiwiYXBpcyI6WyJnb29n bGVtYWlsIl0sInNpZ25hdHVyZSI6Im9mK01ZS0tTYTc2Q2NSN0FkelpUWktOVVVnZ3dMR0VQdkp3RW4r VkZWeVR2SWhoSnA2TEJkY1RreGxlaU1Pa1NNc1FiTFgwdWQycWoyLytJY2lXVUNBPT0iLCJwYXJhbWV0 ZXJzSGFzaCI6IjJjMDNlYjg4NTAwNWRhMDUyYzc1MDFjNWQyZWVhNTEyYzhjOTI3MWMifX1dLCJwYXJh bWV0ZXJzIjpbeyJrZXkiOiJHbWFpbCBhZGRyZXNzIn0seyJrZXkiOiJHTWFpbCBJbnRybyAoZS5nLiAn aGV5IEpvaG4sIHRoZXNlIGFyZSB5b3VyIHN1Z2dlc3RlZCBUd2VldHMnKSJ9LHsia2V5IjoiU3ViamVj dCBvZiBJbnRlcmVzdCAoZS5nLiAnQWkgTWFya2V0aW5nJykifSx7ImtleSI6IkdNYWlsIExhYmVsIChl LmcuICdOZXdzbGV0dGVyJykifSx7ImtleSI6IkdNYWlsIFN1YmplY3QgKGUuZy4gJ1RvZGF5J3MgVHdl ZXRzJykifSx7ImtleSI6Ikdvb2dsZSBEcml2ZSBGb2xkZXIgSUQifV19 ------------------------------------- END --------------------------------------

Inputs
  1. Google Drive Folder Id
  2. The GMail Address you want to send suggested tweets to
  3. The Label you want to monitor in your GMail Inbox
  4. The subject, and intro text for the email
AI Description
Required connections
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected