Send Emails With

Поділитися
Вставка
  • Опубліковано 9 вер 2024
  • Flows in Directus enable custom, event-driven data processing and task automation. In this video we are going to send an email to the admin, when new user is created.
    Flows are a low code way of setting up automation tasks in Directus. They consist of triggers and operations.
    Triggers are actions or events that are happening inside your Directus app like when something is created, when there is an incoming webhook, when the cron job has started and so on.
    An operation is an action or process performed within the flow. These enable you to manage data: send off emails, push in-app notifications, send webhooks and more.
    In this video we are going to send an email to the admin, when new user is created
    You can support my work on Patreon
    / watchlearn
    Follow me on Social Media
    Github: github.com/iva...
    Twitter: / ivan_doric

КОМЕНТАРІ • 22

  • @RobertWildling
    @RobertWildling Рік тому +1

    Thank you for this!
    For late-comers: I am working through the Directus Flow tutorials by Watch&Learn in August 2023, and at least for this video there is a change that is probably worth mentioning. The Mailgun interface has changed since this video tutorials. In case anybody is asking her-/himself, which of the three API keys to use (private, public, webhook), use the webhook API key that is mentioned in your Mailgun Dashboard.

  • @karsongrady
    @karsongrady Рік тому +1

    Flows with some kind of batching or digesting for, say, a weekly email with top posts. Great video as always! Thank you.

  • @mahsamrz5787
    @mahsamrz5787 Рік тому +1

    Hello again, Thank you so much for uploading this tutorial ❣

  • @shubhampatil5935
    @shubhampatil5935 2 місяці тому

    Can you let us know how to read response of email that is send and based upon that response perform update data operation? please reply.

  • @jawadbinsarfraz832
    @jawadbinsarfraz832 11 місяців тому +1

    How can directus send confirmation link to an email from whom new users trying to register ?

  • @faisalabdin
    @faisalabdin Рік тому

    Could you show how we can make a custom script to run as a crown job on my table like for example, I regularly upload new data with which has date of birth and I would like the age to be calculated (once a day) in the age column of the corresponding registered client etc

  • @biblaizplayer4497
    @biblaizplayer4497 Рік тому

    Hi, can you show me how to make a notification to the mail using the table "Employees" which has the field "Date of birth". I was wondering how you could do a time check\data so that these notifications would come, let's say once a week notifying that such and such people have a birthday on such and such dates

  • @efuentesp
    @efuentesp Рік тому

    Can you explain how to compute a field based on fields in same entity?, is it possible with flows?

  • @BambangSumarsono
    @BambangSumarsono Рік тому

    Flow say email was sent but the message is not coming in my email. Following your step by step but the email still not coming. I'm on local machine, did I miss something?

    • @WatchandLearnTutorials
      @WatchandLearnTutorials  Рік тому

      Did you setup Mailgun correctly? Did you configure it in your .env file etc. Something is probably wrong on that end.

    • @BambangSumarsono
      @BambangSumarsono Рік тому

      @@WatchandLearnTutorials yes, already fill .env file with api key and domain name with value that shown in Mailgun dashboard then start directus. My sending log in Mailgun also empty, not sure about the Mailgun setup, what should I double check on that? receiver email has been verified as well

    • @AbhishekKushwahaa
      @AbhishekKushwahaa Рік тому

      same problem with me not receiving mail

    • @WatchandLearnTutorials
      @WatchandLearnTutorials  Рік тому

      @@AbhishekKushwahaa Sorry guys, no idea. Try asking at some of Directus channels.

  • @Nudjialz
    @Nudjialz Рік тому

    Are these flows stored in the database, or can you configure these with files to put in source control?

    • @WatchandLearnTutorials
      @WatchandLearnTutorials  Рік тому

      As far as I can tell they are stored in the DB. But if you wanna share them with the team, you could create a seed file that will create, delete or update flows via API, since you can create, edit and update flows via API. docs.directus.io/reference/system/flows.html

  • @wadienorri6329
    @wadienorri6329 Рік тому

    Can you make a video on how to use send email flow to actually print certain fields from a record ?

    • @WatchandLearnTutorials
      @WatchandLearnTutorials  Рік тому

      I am showing that in this video, we are printing out first and last name.

    • @wadienorri6329
      @wadienorri6329 Рік тому

      @@WatchandLearnTutorials Thanks for the reply, but what I want to do is send an email to an actual printer and print a paper with certain fields. Do I need to set an email provider for this ? thank you again for sharing these videos !

    • @WatchandLearnTutorials
      @WatchandLearnTutorials  Рік тому

      @@wadienorri6329 Hmmm, what do you mean actual printer? Like some persons email that is going to print something for you, or are you trying to send this to the printer device - if that is the case I have no idea how you would do that, for that you probably wouldn't need an email provider, but as for steps for doing that, I don't know.