       IO.puts("Posting webhook to #{hook} because of confirmed")
       IO.inspect(HTTPotion.post(hook, bodify(%{event: event, team_member: team_member})))
     else
-      email = event.contact.email_address
-
-      info =
-        flatten(contents)
-        |> Enum.map(fn {key, val} ->
-          {"action_#{key}", val}
-        end)
-        |> Enum.into(~m(email))
-
-      IO.inspect Ak.Signup.process_signup(&String.contains?(&1["title"], "ESM: Event Published"), info)
+      %{"metadata" => %{"vol_event_submission" => hook}} = Cosmic.get(@cosmic_config_slug)
+      IO.puts("Posting webhook to #{hook} because of confirmed vol event")
+      IO.inspect(HTTPotion.post(hook, bodify(%{event: event, team_member: team_member})))
+
+      email = event.contact.email_address
+
+      info =
+        flatten(contents)
+        |> Enum.map(fn {key, val} ->
+          {"action_#{key}", val}
+        end)
+        |> Enum.into(~m(email))
+
+      IO.inspect(
+        Ak.Signup.process_signup(&String.contains?(&1["title"], "ESM: Event Published"), info)
+      )
     end
   end
 

        end)
        |> Enum.into(~m(email))

      IO.inspect Ak.Signup.process_signup(&String.contains?(&1["title"], "ESM: Event Message Host"), info)
    end
  end


        end)
        |> Enum.into(~m(email))

      IO.inspect(
        Ak.Signup.process_signup(&String.contains?(&1["title"], "ESM: Event Unpublished"), info)
      )
    end
  end

